From b1c8092db3d0022100d7e8b0d4346df527777cf7 Mon Sep 17 00:00:00 2001 From: Alexis Varsava Date: Wed, 15 May 2024 16:02:40 -0400 Subject: [PATCH] template from action authors docs --- .github/workflows/build.yml | 9 +++------ changes/fix_ghcr.md | 2 ++ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 changes/fix_ghcr.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb5bb758b..b4fd2c949 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,13 +33,10 @@ jobs: uses: actions/upload-pages-artifact@v3 - name: Build and Push Docker images if: ${{ github.event_name == 'release' }} - uses: docker/build-push-action@v1.1.0 + uses: macbre/push-to-ghcr@master with: - repository: oicr-gsi/shesmu - tags: latest - tag_with_ref: true - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + image_name: ${{ github.repository }} + github_token: ${{ secrets.GITHUB_TOKEN }} deploy: needs: build runs-on: ubuntu-latest diff --git a/changes/fix_ghcr.md b/changes/fix_ghcr.md new file mode 100644 index 000000000..2e262a90c --- /dev/null +++ b/changes/fix_ghcr.md @@ -0,0 +1,2 @@ +Publish docker images to ghcr instead of docker.io +