Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko-von-Leipzig committed Nov 20, 2023
1 parent 0b48ee6 commit a0e6f0a
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,19 @@ jobs:

# Add the release labels to the associated docker image.
tag-release:
if: github.event_name == 'release'
needs: build-image
runs-on: ubuntu-latest
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Pull image
run: docker pull eqlabs/pathfinder:${{ github.sha }}
- name: Tag image
run: |
docker tag eqlabs/pathfinder:${{ github.sha }} eqlabs/pathfinder:latest
docker tag eqlabs/pathfinder:${{ github.sha }} eqlabs/pathfinder:${{ github.event.release.tag_name }}
- name: Push image tags
run: docker push --all-tags eqlabs/pathfinder
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Pull image
run: docker pull eqlabs/pathfinder:${{ github.sha }}
- name: Tag image
run: |
docker tag eqlabs/pathfinder:${{ github.sha }} eqlabs/pathfinder:latest
docker tag eqlabs/pathfinder:${{ github.sha }} eqlabs/pathfinder:${{ github.event.release.tag_name }}
- name: Push image tags
run: docker push --all-tags eqlabs/pathfinder

0 comments on commit a0e6f0a

Please sign in to comment.