diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index a3c8ee25740..22ad6207395 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -7,7 +7,7 @@ on: env: IMAGE_BASE_NAME: dataquest/dspace - + jobs: retag-BE-image: steps: @@ -16,11 +16,11 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - + - name: retag image run: | docker pull ${{ env.IMAGE_BASE_NAME }}:${{ github.sha }} - docker tag ${{ env.IMAGE_BASE_NAME }}:${{ github.sha }} ${{ env.IMAGE_BASE_NAME }}:${{ github.ref_name }} + docker tag ${{ env.IMAGE_BASE_NAME }}:${{ github.sha }} ${{ env.IMAGE_BASE_NAME }}:${{ github.ref_name }} - name: push image run: docker push ${{ env.IMAGE_BASE_NAME }}:${{ github.ref_name }}