diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 4584de3..76501e7 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -3,15 +3,19 @@ name: Upload the container on: workflow_dispatch: push: + release: + types: [published] jobs: build-and-upload: runs-on: docker steps: - - uses: https://git.dzuchun.ing/actions/checkout@v1 + - name: Checkout code + uses: https://git.dzuchun.ing/actions/checkout@v1 - - uses: https://git.dzuchun.ing/actions/container-upload@v0.4.1 + - name: Build and upload the image + uses: https://git.dzuchun.ing/actions/container-upload@v0.4.1 with: registry-user: actions token: ${{ secrets.REGISTRY_PAT }}