Skip to content

Commit

Permalink
Add docker login with token
Browse files Browse the repository at this point in the history
  • Loading branch information
rrey committed Jun 20, 2020
1 parent 708b9d9 commit a6bedf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
types: [published]

jobs:

build:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -33,6 +32,6 @@ jobs:
- name: Push the image
run: |
docker login -u rrey -p $DOCKERHUB_TOKEN
docker push rrey/terraform-runner:$(git tag --points-at HEAD)
docker push rrey/terraform-runner:$(git tag --points-at HEAD)-azdo
env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit a6bedf9

Please sign in to comment.