Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
artur rocks committed Oct 21, 2024
1 parent 5b8179f commit b17702b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
docker buildx build --push --tag $IMAGE_NAME:latest $CONTEXT
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.GIT_TAG }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$GIT_TAG $CONTEXT
else
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.BRANCH_NAME }}-${{ steps.vars.outputs.GIT_SHA_SHORT }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$BRANCH_NAME-$GIT_SHA_SHORT $CONTEXT
fi
- name: Cache node modules
Expand Down Expand Up @@ -83,9 +83,9 @@ jobs:
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
docker buildx build --push --tag $IMAGE_NAME:latest $CONTEXT
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.GIT_TAG }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$GIT_TAG $CONTEXT
else
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.BRANCH_NAME }}-${{ steps.vars.outputs.GIT_SHA_SHORT }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$BRANCH_NAME-$GIT_SHA_SHORT $CONTEXT
fi
- name: Build and push FITS WEB
Expand All @@ -95,9 +95,9 @@ jobs:
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
docker buildx build --push --tag $IMAGE_NAME:latest $CONTEXT
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.GIT_TAG }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$GIT_TAG $CONTEXT
else
docker buildx build --push --tag $IMAGE_NAME:${{ steps.vars.outputs.BRANCH_NAME }}-${{ steps.vars.outputs.GIT_SHA_SHORT }} $CONTEXT
docker buildx build --push --tag $IMAGE_NAME:$BRANCH_NAME-$GIT_SHA_SHORT $CONTEXT
fi

0 comments on commit b17702b

Please sign in to comment.