Update build.yml

This commit is contained in:
Antony Messerli 2021-09-06 19:08:27 -05:00 committed by GitHub
parent 027cd38089
commit b410559d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: netbootxyz name: build
on: on:
push: push:
schedule: schedule:
@ -42,7 +42,7 @@ jobs:
continue-on-error: true continue-on-error: true
run: | run: |
tag=latest tag=latest
IMAGE=antonym/netbootxyz IMAGE=netbootxyz/netbootxyz
TOKEN=$(curl -sX GET \ TOKEN=$(curl -sX GET \
"https://ghcr.io/token?scope=repository%3Aantonym%2Fnetbootxyz%3Apull" \ "https://ghcr.io/token?scope=repository%3Aantonym%2Fnetbootxyz%3Apull" \
| jq -r '.token') | jq -r '.token')
@ -119,9 +119,9 @@ jobs:
VERSION=${{ env.VERSION_TAG }} VERSION=${{ env.VERSION_TAG }}
BUILD_DATE=${{ env.GITHUB_DATE }} BUILD_DATE=${{ env.GITHUB_DATE }}
tags: | tags: |
ghcr.io/antonym/${{ github.workflow }}:latest ghcr.io/netbootxyz/netbootxyz:latest
ghcr.io/antonym/${{ github.workflow }}:${{ github.sha }} ghcr.io/netbootxyz/netbootxyz:${{ github.sha }}
ghcr.io/antonym/${{ github.workflow }}:${{ env.VERSION_TAG }} ghcr.io/netbootxyz/netbootxyz:${{ env.VERSION_TAG }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Bump version and push tag - name: Bump version and push tag