diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-11-19 18:51:41 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-11-19 18:51:41 +0100 |
commit | 2b4c7beb733b809e8c9bec7492254ccf09d830b1 (patch) | |
tree | 200fc89e67e2c51493a87c4b8745d9d0180699f9 /.github/workflows/build-image.yml | |
parent | f2b376e9d82577dc630757a2b927d02f8bfcf4b0 (diff) | |
parent | db32835338e113f23a474d323e398916a999619f (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to '.github/workflows/build-image.yml')
-rw-r--r-- | .github/workflows/build-image.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 2ec6b3d4b..58f2813d3 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -1,5 +1,6 @@ name: Build container image on: + workflow_dispatch: push: branches: - "main" @@ -13,15 +14,14 @@ jobs: - uses: docker/setup-buildx-action@v1 - uses: docker/login-action@v1 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - uses: docker/metadata-action@v3 id: meta with: - images: ghcr.io/${{ github.repository_owner }}/mastodon + images: tootsuite/mastodon flavor: | - latest=true + latest=auto tags: | type=edge,branch=main type=semver,pattern={{ raw }} @@ -30,5 +30,5 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/mastodon:latest + cache-from: type=registry,ref=tootsuite/mastodon:latest cache-to: type=inline |