Skip to content

Commit 5d0ade4

Browse files
author
Dominic Sudy
committed
fix build
1 parent 3ea705a commit 5d0ade4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/sdk-build-container.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ jobs:
6565
id: get-tag
6666
shell: bash
6767
run: |
68-
TAGS=${{ github.sha }}
68+
BASE=${{ steps.github-repository-name-case-adjusted.outputs.lowercase }}/app-builder
69+
TAGS=$BASE:${{ github.sha }}
6970
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
70-
TAGS="${TAGS},latest"
71+
TAGS="${TAGS},$BASE:latest"
7172
fi
72-
echo "tag=${{ github.sha }}" >> $GITHUB_OUTPUT
7373
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
7474
7575
- name: Set container output type
@@ -86,9 +86,7 @@ jobs:
8686
id: image_build
8787
uses: docker/[email protected]
8888
with:
89-
imageName: ghcr.io/${{ steps.github-repository-name-case-adjusted.outputs.lowercase }}/app-builder
90-
imageTag: ${{ steps.get-tag.outputs.tags }}
91-
push: true
89+
tags: ${{ steps.get-tag.outputs.tags }}
9290
file: sdk/Dockerfile
9391
platforms: linux/amd64
9492
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)