Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit cecf7ed

Browse files
committed
push tags and commits to registery
1 parent b724183 commit cecf7ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-container.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,16 @@ jobs:
2626
username: ${{ secrets.DOCKER_REGISTERY_USERNAME }}
2727
password: ${{ secrets.DOCKER_REGISTERY_PASSWORD }}
2828
- name: Build docker image
29+
if: github.ref_type == 'tag'
2930
uses: docker/build-push-action@v3
3031
with:
3132
push: true
3233
platforms: linux/amd64
3334
tags: registery.unknownclouds.com/rtcv:${{ github.ref_name }}
35+
- name: Build docker image
36+
if: github.ref_type == 'branch'
37+
uses: docker/build-push-action@v3
38+
with:
39+
push: true
40+
platforms: linux/amd64
41+
tags: registery.unknownclouds.com/rtcv:${{ steps.vars.outputs.sha_short }}

0 commit comments

Comments
 (0)