From 0aed5bcb670e3eda23a241ba4c85a3be42bf83a7 Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Wed, 17 Jul 2024 21:18:17 +0900 Subject: [PATCH] fix image organization Signed-off-by: Yutaka Kondo --- .github/actions/docker-build-and-push/action.yaml | 2 +- .github/actions/docker-build/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index 4cf51296cdd..5a9081a57b3 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -121,7 +121,7 @@ runs: id: meta-autoware-universe uses: docker/metadata-action@v5 with: - images: ghcr.io/${{ github.actor }}/${{ inputs.bake-target }} + images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: ${{ steps.set-docker-tags.outputs.tags }} bake-target: docker-metadata-action-autoware-universe flavor: | diff --git a/.github/actions/docker-build/action.yaml b/.github/actions/docker-build/action.yaml index 67c2513ddc3..6e36e44fe6e 100644 --- a/.github/actions/docker-build/action.yaml +++ b/.github/actions/docker-build/action.yaml @@ -97,7 +97,7 @@ runs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ github.token }} - name: Run docker build