We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d2948 commit 1ed9545Copy full SHA for 1ed9545
.github/workflows/android-ci.yml
@@ -2,7 +2,10 @@ name: Build and publish a Docker image
2
3
on:
4
push:
5
- branches: ['master']
+ branches:
6
+ - 'master'
7
+ tags:
8
+ - 'v*'
9
10
env:
11
IMAGE_NAME: ${{ github.repository }}
@@ -32,13 +35,13 @@ jobs:
32
35
33
36
- name: Extract metadata (tags, labels) for Docker
34
37
id: meta
- uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
38
+ uses: docker/metadata-action@v5
39
with:
40
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
41
42
- name: Build and push Docker image
43
id: push
- uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
44
+ uses: docker/build-push-action@v5
45
46
context: .
47
push: true
0 commit comments