Skip to content

Commit

Permalink
New changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vgottipa committed Mar 11, 2024
1 parent e972a97 commit 9dc2223
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4
- name: Set version
id: version
run: echo "VERSION=$(($(git describe --tags --abbrev=0 | sed 's/v//')+1))" >> $GITHUB_ENV
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -58,6 +58,6 @@ jobs:
ECR_REPOSITORY: onedatashare/transfer_service
IMAGE_TAG: ${{ env.VERSION }}
run: |
docker pull onedatashare/transfer_service:${IMAGE_TAG}
docker tag onedatashare/transfer_service:${IMAGE_TAG} $ECR_REGISTRY/$ECR_REPOSITORY:${IMAGE_TAG}
docker push $ECR_REGISTRY/$ECR_REPOSITORY:${IMAGE_TAG}
docker pull onedatashare/transfer_service:$IMAGE_TAG
docker tag onedatashare/transfer_service:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 comments on commit 9dc2223

Please sign in to comment.