Skip to content

Commit

Permalink
Merge pull request #86 from andrebrito16/fix/login-docker-go-build
Browse files Browse the repository at this point in the history
fix: added docker login on go build
  • Loading branch information
filipeforattini authored Aug 6, 2023
2 parents 9f4521e + af7eaca commit 025f73b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/svc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,15 @@ jobs:
if: steps.analysis.outputs.feature_has_dockerignore == 'false'
with:
writeSummary: true

# login
- name: Config | Login to Container Registry
uses: docker/login-action@v2
with:
logout: false
registry: ${{inputs.containerRegistry}}
username: ${{secrets.REGISTRY_USERNAME}}
password: ${{secrets.REGISTRY_PASSWORD}}

# build
- name: Copy config
Expand Down

0 comments on commit 025f73b

Please sign in to comment.