From 6a56f916d7bef407c05e3f1d5d6c7eb1fdec12ff Mon Sep 17 00:00:00 2001 From: okiedork Date: Fri, 29 Apr 2022 15:23:58 -0300 Subject: [PATCH] Fix container tags on Docker automation I forgot to use the ghcr.io registry in the tag input, so the Docker daemon was trying to push to DockerHub instead. --- .github/workflows/build-docker-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 02199235..4d74144b 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -51,7 +51,7 @@ jobs: push: true build-args: "VERSION=${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }}" - tags: package-health/nginx:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} + tags: ghcr.io/package-health/nginx:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} file: ./docker/nginx.Dockerfile context: . cache-from: type=gha @@ -63,7 +63,7 @@ jobs: push: true build-args: "VERSION=${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }}" - tags: package-health/php-fpm:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} + tags: ghcr.io/package-health/php-fpm:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} file: ./docker/php.Dockerfile target: fpm context: . @@ -76,7 +76,7 @@ jobs: push: true build-args: "VERSION=${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }}" - tags: package-health/php-cli:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} + tags: ghcr.io/package-health/php-cli:${{ steps.prepare-build.outputs.environment }}-${{ steps.prepare-build.outputs.short }} file: ./docker/php.Dockerfile target: cli context: .