Skip to content

Commit

Permalink
test13
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontalvoy authored Dec 7, 2023
1 parent 1b6c11f commit 523fc1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

env:
APP_NAME: goapp
REGISTRY: docker.io
ORG: gmontalvoy

jobs:
test-code:
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: docker.io/gmontalvoy
registry: ${{ env.REGISTRY }}/${{ ORG }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

Expand All @@ -68,7 +70,7 @@ jobs:
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ env.APP_NAME }}
tags: prod-${{ github.sha }}
registry: docker.io/gmontalvoy
tags: ${{ env.REGISTRY }}/gmontalvoy/${{ env.APP_NAME }}:prod-${{ github.sha }}
registry: ${{ env.REGISTRY }}/${{ ORG }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

0 comments on commit 523fc1b

Please sign in to comment.