Skip to content

Commit

Permalink
Merge pull request #1116 from swirlai/ds-1535-new-acr-for-scan
Browse files Browse the repository at this point in the history
change to a clean ACR for scans
  • Loading branch information
dnicodemus authored Jan 24, 2024
2 parents e6b5063 + c5d3241 commit 276c39b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/internal-offer-images-offer-acr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
run: |
echo "${{ secrets.ACR_RED_PW }}" | docker login dnred90.azurecr.io -u "${{ secrets.ACR_RED_USER }}" --password-stdin
docker pull dnred90.azurecr.io/redis
docker tag dnred90.azurecr.io/redis swopnoff03.azurecr.io/redis:${{ env.RED_VERSION }}
docker tag dnred90.azurecr.io/redis swopnoff03.azurecr.io/redis:latest
docker tag dnred90.azurecr.io/redis swopnoff0302.azurecr.io/redis:${{ env.RED_VERSION }}
docker tag dnred90.azurecr.io/redis swopnoff0302.azurecr.io/redis:latest
- name: login to acr swirl and pull
run: |
echo "${{ secrets.ACR_SWR_PW }}" | docker login dnswo90.azurecr.io -u "${{ secrets.ACR_SWR_USER }}" --password-stdin
docker pull dnswo90.azurecr.io/swirl
docker tag dnswo90.azurecr.io/swirl swopnoff03.azurecr.io/swirl:${{ env.SWR_VERSION }}
docker tag dnswo90.azurecr.io/swirl swopnoff03.azurecr.io/swirl:latest
docker tag dnswo90.azurecr.io/swirl swopnoff0302.azurecr.io/swirl:${{ env.SWR_VERSION }}
docker tag dnswo90.azurecr.io/swirl swopnoff0302.azurecr.io/swirl:latest
- name: login to acr offer and push
run: |
echo "${{ secrets.ACR_OFF_PW }}" | docker login swopnoff03.azurecr.io -u "${{ secrets.ACR_OFF_USER }}" --password-stdin
docker push swopnoff03.azurecr.io/redis:${{ env.RED_VERSION }}
docker push swopnoff03.azurecr.io/redis:latest
docker push swopnoff03.azurecr.io/swirl:${{ env.SWR_VERSION }}
docker push swopnoff03.azurecr.io/swirl:latest
echo "${{ secrets.ACR_OFF_PW }}" | docker login swopnoff0302.azurecr.io -u "${{ secrets.ACR_OFF_USER }}" --password-stdin
docker push swopnoff0302.azurecr.io/redis:${{ env.RED_VERSION }}
docker push swopnoff0302.azurecr.io/redis:latest
docker push swopnoff0302.azurecr.io/swirl:${{ env.SWR_VERSION }}
docker push swopnoff0302.azurecr.io/swirl:latest
- name: Upload log files
if: always()
Expand Down

0 comments on commit 276c39b

Please sign in to comment.