Skip to content

Commit

Permalink
test29
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontalvoy authored Dec 7, 2023
1 parent 59f10df commit cc8a903
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Log in to Docker Registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

- name: Pull Dev Image
run: docker pull ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.APP_NAME }}:${{ github.sha }}-dev

Expand All @@ -81,10 +80,10 @@ jobs:
- name: Push to Prod
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ env.APP_NAME }}
tags: ${{ github.sha }}-prod
registry: ${{ env.REGISTRY }}/${{ env.ORG }}
image: ${{ env.ORG }}/${{ env.APP_NAME }}:${{ github.sha }}-prod
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}



0 comments on commit cc8a903

Please sign in to comment.