Skip to content

Commit 8a0dcb3

Browse files
Eneman DonatienEneman Donatien
authored andcommitted
[CI] Run docker step when release and tag branch
1 parent e50008b commit 8a0dcb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
paths-ignore:
88
- 'docs/**'
99
tags:
10-
- "*"
10+
- "**"
1111
pull_request:
1212
paths-ignore:
1313
- 'docs/**'
@@ -24,8 +24,6 @@ jobs:
2424
dockerfile: Dockerfile
2525

2626
build-docker:
27-
outputs:
28-
version: ${{ steps.get_version.outputs.VERSION }}
2927
runs-on: ubuntu-latest
3028
steps:
3129
- name: Checkout code
@@ -56,6 +54,7 @@ jobs:
5654
password: ${{ secrets.DOCKERHUB_TOKEN }}
5755

5856
- name: Build and push
57+
id: build_push
5958
uses: docker/build-push-action@v6
6059
with:
6160
context: .
@@ -66,5 +65,6 @@ jobs:
6665
${{ steps.docker_meta.outputs.tags }}
6766
labels: ${{ steps.docker_meta.outputs.labels }}
6867
platforms: linux/amd64,linux/arm64
68+
6969
- name: Image digest
70-
run: echo ${{ steps.docker_build.outputs.digest }}
70+
run: echo ${{ steps.build_push.outputs.digest }}

0 commit comments

Comments
 (0)