Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
doosuu committed Sep 21, 2023
1 parent 786b59d commit 16252b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sdk-build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
BASE=ghcr.io/${{ steps.github-repository-name-case-adjusted.outputs.lowercase }}/app-builder
TAGS=$BASE:${{ github.sha }}
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
TAGS="${TAGS},$BASE:latest"
fi
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
Expand All @@ -76,7 +76,7 @@ jobs:
id: container_output
shell: bash
run: |
if [ ${{ github.event_name }} = "push" ]; then
if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
echo "type=registry" >> $GITHUB_OUTPUT
else
echo "type=oci,dest=./container.tar" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 16252b7

Please sign in to comment.