disable pushing on building

This commit is contained in:
Kokomo123
2024-08-24 21:59:28 -04:00
parent b8bd7d61e5
commit d199155e78

View File

@@ -73,17 +73,17 @@ jobs:
context: . context: .
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
platforms: linux/arm64,linux/amd64 platforms: linux/arm64,linux/amd64
push: true push: false
tags: ghcr.io/kokomo123/5etools-img:latest,ghcr.io/kokomo123/5etools-img:testing tags: ghcr.io/kokomo123/5etools-img:latest,ghcr.io/kokomo123/5etools-img:testing
#- name: Push image - name: Push image
# run: | run: |
# echo IMAGE_ID=$IMAGE_ID echo IMAGE_ID=$IMAGE_ID
# echo IMAGE_VERSION=$IMAGE_VERSION echo IMAGE_VERSION=$IMAGE_VERSION
# docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
# [[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest [[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
# docker push $IMAGE_ID:$IMAGE_VERSION docker push $IMAGE_ID:$IMAGE_VERSION
# docker push $IMAGE_ID:latest docker push $IMAGE_ID:latest