refactor: rename Tag step to Release

Improves the readability of the workflow.

PR: #22
This commit is contained in:
innovaker 2021-05-09 15:59:20 +01:00
parent bca57f3ef0
commit f57ad048fa

View File

@ -81,7 +81,7 @@ jobs:
- name: Image digest - name: Image digest
if: ${{ !startsWith(github.ref, 'refs/tags') }} if: ${{ !startsWith(github.ref, 'refs/tags') }}
run: echo ${{ steps.build-push.outputs.digest }} run: echo ${{ steps.build-push.outputs.digest }}
- name: Tag (pull candidate, tag, push) - name: Release (pull candidate, tag, push)
if: ${{ github.ref == steps.vars.outputs.tag-trigger-ref }} if: ${{ github.ref == steps.vars.outputs.tag-trigger-ref }}
run: | run: |
docker pull docker.io/${{ secrets.DOCKER_HUB_NAMESPACE }}/${{ steps.vars.outputs.candidate-tag }} docker pull docker.io/${{ secrets.DOCKER_HUB_NAMESPACE }}/${{ steps.vars.outputs.candidate-tag }}