We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4880c05 commit 228dd23Copy full SHA for 228dd23
.github/workflows/docker-image.yml
@@ -4,11 +4,23 @@ on:
4
push:
5
branches:
6
- 'master-pokeapi'
7
+ tags:
8
+ - '*.*.*'
9
10
jobs:
11
docker:
12
runs-on: ubuntu-latest
13
steps:
14
+ -
15
+ name: Docker meta
16
+ id: docker_meta
17
+ uses: crazy-max/ghaction-docker-meta@v1
18
+ with:
19
+ # list of Docker images to use as base name for tags
20
+ images: |
21
+ pokeapi/graphiql
22
+ # add git short SHA as Docker tag
23
+ tag-sha: false
24
-
25
name: Set up QEMU
26
uses: docker/setup-qemu-action@v1
@@ -27,7 +39,8 @@ jobs:
27
39
uses: docker/build-push-action@v2
28
40
with:
29
41
push: true
30
- tags: pokeapi/graphiql:latest
42
+ tags: ${{ steps.docker_meta.outputs.tags }}
43
+ labels: ${{ steps.docker_meta.outputs.labels }}
31
44
32
45
name: Image digest
33
46
run: echo ${{ steps.docker_build.outputs.digest }}
0 commit comments