mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2025-12-16 07:53:24 -06:00
disable pushing on building
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -73,17 +73,17 @@ jobs:
|
||||
context: .
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/arm64,linux/amd64
|
||||
push: true
|
||||
push: false
|
||||
tags: ghcr.io/kokomo123/5etools-img:latest,ghcr.io/kokomo123/5etools-img:testing
|
||||
|
||||
#- name: Push image
|
||||
# run: |
|
||||
# echo IMAGE_ID=$IMAGE_ID
|
||||
# echo IMAGE_VERSION=$IMAGE_VERSION
|
||||
# docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
|
||||
# [[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
|
||||
# docker push $IMAGE_ID:$IMAGE_VERSION
|
||||
# docker push $IMAGE_ID:latest
|
||||
- name: Push image
|
||||
run: |
|
||||
echo IMAGE_ID=$IMAGE_ID
|
||||
echo IMAGE_VERSION=$IMAGE_VERSION
|
||||
docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
|
||||
docker push $IMAGE_ID:$IMAGE_VERSION
|
||||
docker push $IMAGE_ID:latest
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user