From f96e71352244b1fb43fe1cdf6ec7608f7486d29d Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 22 Dec 2023 13:01:08 +0100 Subject: [PATCH] Fix trying to push mastodon-streaming docker images to upstream's ghcr repo (#2541) --- .github/workflows/build-nightly.yml | 2 +- .github/workflows/build-push-pr.yml | 2 +- .github/workflows/build-releases.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index de0fc03ce6..752e24b4a6 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -51,7 +51,7 @@ jobs: use_native_arm64_builder: false cache: false push_to_images: | - ghcr.io/mastodon/mastodon-streaming + ghcr.io/${{ github.repository_owner }}/mastodon-streaming version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }} labels: | org.opencontainers.image.description=Nightly build image used for testing purposes diff --git a/.github/workflows/build-push-pr.yml b/.github/workflows/build-push-pr.yml index 4c2ab54e9f..4505151e1a 100644 --- a/.github/workflows/build-push-pr.yml +++ b/.github/workflows/build-push-pr.yml @@ -49,7 +49,7 @@ jobs: platforms: linux/amd64,linux/arm64 use_native_arm64_builder: false push_to_images: | - ghcr.io/mastodon/mastodon-streaming + ghcr.io/${{ github.repository_owner }}/mastodon-streaming version_metadata: ${{ needs.compute-suffix.outputs.metadata }} flavor: | latest=auto diff --git a/.github/workflows/build-releases.yml b/.github/workflows/build-releases.yml index bdce82165f..8e0fe5dfa8 100644 --- a/.github/workflows/build-releases.yml +++ b/.github/workflows/build-releases.yml @@ -36,7 +36,7 @@ jobs: platforms: linux/amd64,linux/arm64 use_native_arm64_builder: false push_to_images: | - ghcr.io/mastodon/mastodon-streaming + ghcr.io/${{ github.repository_owner }}/mastodon-streaming # Do not use cache when building releases, so apt update is always ran and the release always contain the latest packages cache: false # Only tag with latest when ran against the latest stable branch