Skip to content

Commit

Permalink
Fix container tags on Docker automation
Browse files Browse the repository at this point in the history
I forgot to use the ghcr.io registry in the tag input,
so the Docker daemon was trying to push to DockerHub instead.
  • Loading branch information
okiedork authored and flavioheleno committed Apr 29, 2022
1 parent 409295a commit 6a56f91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: .
Expand All @@ -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: .
Expand Down

0 comments on commit 6a56f91

Please sign in to comment.