Skip to content

Commit

Permalink
Update image-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
davi17g committed Aug 21, 2024
1 parent 2bb86f9 commit 4d17274
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ jobs:
--password "${{ secrets.ARTIFACTORY_TOKEN }}" \
--url "${{ secrets.ARTIFACTORY_PROMOTE_URL }}" \
--copy
- name: Promote image with latest tag
env:
ARTIFACTORY_CONTAINER_DEV: ${{ vars.ARTIFACTORY_CONTAINER_DEV }}
ARTIFACTORY_CONTAINER_PROD: ${{ vars.ARTIFACTORY_CONTAINER_PROD }}
TAG: ${{env.TAG}}
run: |
jfrog rt docker-promote aerospike-backup-service \
"$ARTIFACTORY_CONTAINER_DEV" \
"$ARTIFACTORY_CONTAINER_PROD" \
--source-tag "$TAG" \
--target-tag "latest" \
--user "${{ secrets.ARTIFACTORY_USER }}" \
--password "${{ secrets.ARTIFACTORY_TOKEN }}" \
--url "${{ secrets.ARTIFACTORY_PROMOTE_URL }}" \
--copy
# - name: Promote image with latest tag
# env:
# ARTIFACTORY_CONTAINER_DEV: ${{ vars.ARTIFACTORY_CONTAINER_DEV }}
# ARTIFACTORY_CONTAINER_PROD: ${{ vars.ARTIFACTORY_CONTAINER_PROD }}
# TAG: ${{env.TAG}}
# run: |
# jfrog rt docker-promote aerospike-backup-service \
# "$ARTIFACTORY_CONTAINER_DEV" \
# "$ARTIFACTORY_CONTAINER_PROD" \
# --source-tag "$TAG" \
# --target-tag "latest" \
# --user "${{ secrets.ARTIFACTORY_USER }}" \
# --password "${{ secrets.ARTIFACTORY_TOKEN }}" \
# --url "${{ secrets.ARTIFACTORY_PROMOTE_URL }}" \
# --copy

0 comments on commit 4d17274

Please sign in to comment.