Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Commit c6b2ea1

Browse files
authored
CI(actions): Implement Webhook receiver for edge and stable (#25)
* CI(actions): Implement Webhook receiver for edge and stable * CI(actions): Update workflow for tag & webhook
1 parent ecbbd50 commit c6b2ea1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/docker-stable.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,23 @@
2525
- name: Docker meta for TAG
2626
id: meta
2727
uses: docker/metadata-action@v3
28+
if: ${{ github.event.action != 'refresh' }}
2829
with:
2930
images: ${{ secrets.DOCKER_IMAGE }}
3031
tags: |
3132
type=match,pattern=v(.*),group=1, enable=true,priority=600,prefix=${{matrix.python_version}}-v,suffix=,value=
3233
34+
- name: Docker meta for TAG (refresh image)
35+
id: meta
36+
uses: docker/metadata-action@v3
37+
if: ${{ github.event.action == 'refresh' }}
38+
env:
39+
LATEST_TAG: $(git describe --tags --abbrev=0)
40+
with:
41+
images: ${{ secrets.DOCKER_IMAGE }}
42+
tags: |
43+
raw=enable=true,priority=600,prefix=${{matrix.python_version}}-v,suffix=,value=${LATEST_TAG}
44+
3345
- name: Login to DockerHub
3446
uses: docker/login-action@v1
3547
with:

0 commit comments

Comments
 (0)