Skip to content

Commit

Permalink
deploy bare image
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Oct 28, 2024
1 parent 221ae5b commit 17ff1a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ jobs:

- name: Build bare images
if: ${{ github.event_name != 'pull_request' }}
id: bare
run: |
./build_bare.sh
podman push ghcr.io/gardenlinux/glvd-api:latest-linuxamd64_bare
podman push --digestfile=bare-amd64-digest ghcr.io/gardenlinux/glvd-api:latest-linuxamd64_bare
podman push ghcr.io/gardenlinux/glvd-api:latest-linuxarm64_bare
echo "bare-amd64-digest=$(cat ./bare-amd64-digest)" >> $GITHUB_OUTPUT
- name: Print image url
if: ${{ github.event_name != 'pull_request' }}
Expand All @@ -147,7 +149,7 @@ jobs:

- name: Deploy the image
if: ${{ github.event_name != 'pull_request' }}
run: kubectl --namespace default --token "${{ steps.get-token.outputs.idToken }}" set image deploy/glvd glvd-api=ghcr.io/gardenlinux/glvd-api:latest@${{ steps.push-to-ghcr.outputs.digest }}
run: kubectl --namespace default --token "${{ steps.get-token.outputs.idToken }}" set image deploy/glvd glvd-api=ghcr.io/gardenlinux/glvd-api:latest-linuxamd64_bare@${{ steps.bare.outputs.bare-amd64-digest }}

dependency-submission:

Expand Down

0 comments on commit 17ff1a7

Please sign in to comment.