diff --git a/action.yml b/action.yml index 1dce9c6..2241de1 100644 --- a/action.yml +++ b/action.yml @@ -46,7 +46,8 @@ runs: with: images: ${{ inputs.docker-registry }}/${{ github.repository }} tags: | - type=sha + type=sha,enable=${{ !startsWith(github.ref_name, 'epic') }} + type=raw,value=sha-{{ sha }}-{{ branch }},enable=${{ startsWith(github.ref_name, 'epic') }} - name: 🚀 Build and push Docker image uses: docker/build-push-action@v2