Skip to content

Commit

Permalink
Uncomment docker hub workflow to login and publish the image
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Jan 18, 2021
1 parent 1d00de7 commit 05dbdd5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ jobs:
# repository: dmwm/das2go/das2go
# tag_with_ref: true

# - name: Login to DockerHub
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

# - name: Build and push
# uses: docker/build-push-action@v2
# with:
# context: .
# file: ./Dockerfile
# load: true
# tags: cmssw/das2go:${{steps.get-ref.outputs.tag}}
# - run: docker push cmssw/das2go:${{steps.get-ref.outputs.tag}}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
load: true
tags: cmssw/das2go:${{steps.get-ref.outputs.tag}}
- run: docker push cmssw/das2go:${{steps.get-ref.outputs.tag}}

0 comments on commit 05dbdd5

Please sign in to comment.