Skip to content

Commit

Permalink
Add release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyao2015 committed Feb 24, 2022
1 parent d2bba3a commit c201b1c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,19 @@ jobs:
--image-name ci:${{ github.run_number }} \
--latest
# if its tagged, push to release
- name: Push image (tag)
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
./publish.py \
--tag release \
--repo ${{ matrix.registry.repo }} \
--image \
--github-sha ${ZM_VERSION}-${ES_VERSION} \
--run-number ${{ github.run_number }} \
--arch ${{ matrix.arch }} \
--image-name ci:${{ github.run_number }}
create_manifest:
name: Create Manifest
runs-on: ubuntu-latest
Expand Down Expand Up @@ -373,5 +386,16 @@ jobs:
--repo ${{ matrix.registry.repo }} \
--manifest \
--github-sha ${ZM_VERSION}-${ES_VERSION} \
--run-number ${{ github.run_number }}
--run-number ${{ github.run_number }} \
--latest
# if its tagged, push to release
- name: Push image (tag)
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
./publish.py \
--tag release \
--repo ${{ matrix.registry.repo }} \
--manifest \
--github-sha ${ZM_VERSION}-${ES_VERSION} \
--run-number ${{ github.run_number }}

0 comments on commit c201b1c

Please sign in to comment.