Skip to content

Commit 12bf63b

Browse files
committed
docker build with multiple tags
1 parent 59ecf4b commit 12bf63b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
with:
4040
context: .
4141
push: true
42-
tags: ghcr.io/markkelnar/wp-graphql:${{ steps.vars.outputs.tag }}-wp${{ matrix.wordpress }}-php${{ matrix.php }}
42+
tags: |
43+
ghcr.io/markkelnar/wp-graphql:latest-wp${{ matrix.wordpress }}-php${{ matrix.php }}
44+
ghcr.io/markkelnar/wp-graphql:${{ steps.vars.outputs.tag }}-wp${{ matrix.wordpress }}-php${{ matrix.php }}
4345
file: docker/app.Dockerfile
4446
build-args: |
4547
PHP_VERSION=${{ matrix.php }}

0 commit comments

Comments
 (0)