Skip to content

Commit

Permalink
[GHA] Fix alpha workflow also pushing on 1.9.3 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RoiArthurB committed Aug 21, 2024
1 parent 2ef471b commit be70924
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/dockerimage-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ jobs:
docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
# Push alpha
docker push gamaplatform/${{ env.IMAGE_NAME }}:alpha
# Push 1.9.3
docker tag gamaplatform/${{ env.IMAGE_NAME }}:alpha gamaplatform/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
docker push gamaplatform/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
docker logout
- name: Publish in Github Package
run: |
docker login docker.pkg.github.com -u ${{ secrets.BOT_GH_NAME }} -p ${{ secrets.GITHUB_TOKEN }}
# Push 1.9.3
docker tag gamaplatform/${{ env.IMAGE_NAME }}:${{ env.VERSION }} docker.pkg.github.com/gama-platform/gama.docker/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
docker push docker.pkg.github.com/gama-platform/gama.docker/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
# Push alpha
docker tag gamaplatform/${{ env.IMAGE_NAME }}:alpha docker.pkg.github.com/gama-platform/gama.docker/${{ env.IMAGE_NAME }}:alpha
docker push docker.pkg.github.com/gama-platform/gama.docker/${{ env.IMAGE_NAME }}:alpha
Expand Down

0 comments on commit be70924

Please sign in to comment.