mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(ci): Use path subdirs for artifacts (#3103)
https://github.com/firezone/firezone/actions/runs/7400101287
This commit is contained in:
7
.github/workflows/cd.yml
vendored
7
.github/workflows/cd.yml
vendored
@@ -295,8 +295,11 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- image_name: relay
|
||||
artifact: relay
|
||||
- image_name: gateway
|
||||
artifact: gateway
|
||||
- image_name: client
|
||||
artifact: linux-client
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/gcp-docker-login
|
||||
@@ -308,7 +311,7 @@ jobs:
|
||||
with:
|
||||
pattern: "*-digests"
|
||||
merge-multiple: true
|
||||
path: /tmp/digests
|
||||
path: /tmp/digests/${{ matrix.artifact }}
|
||||
- name: Display structure of downloaded artifacts
|
||||
run: ls -R /tmp/digests
|
||||
- name: Set up Docker Buildx
|
||||
@@ -333,7 +336,7 @@ jobs:
|
||||
type=raw,value=${{ env.MAJOR_VERSION }}
|
||||
type=raw,value=${{ env.MAJOR_MINOR_VERSION }}
|
||||
- name: Create manifest list and push
|
||||
working-directory: /tmp/digests/${{ matrix.image_name }}
|
||||
working-directory: /tmp/digests/${{ matrix.artifact }}
|
||||
run: |
|
||||
tags=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
|
||||
sources=$(printf '${{ steps.login.outputs.registry }}/firezone/${{ matrix.image_name }}@sha256:%s ' *)
|
||||
|
||||
Reference in New Issue
Block a user