Skip to content

Commit

Permalink
fix: 💚 push to latest in main pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan6erbond committed Apr 15, 2023
1 parent ebc5edb commit c4947f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,20 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Lowercase package
id: tags
id: tags1
uses: ASzc/change-string-case-action@v1
with:
string: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.changelog.outputs.tag }}
- name: Lowercase package
id: tags2
uses: ASzc/change-string-case-action@v1
with:
string: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
context: .
push: true
tags: ${{ steps.tags.outputs.lowercase }}
tags: ${{ steps.tags1.outputs.lowercase }},${{ steps.tags2.outputs.lowercase }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit c4947f8

Please sign in to comment.