Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
TOnodera committed Jan 12, 2024
1 parent 04e37e9 commit 6693844
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ jobs:
ignore-unfixed: true
severity: 'CRITICAL,HIGH'

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DH_USERNAME }}
password: ${{ secrets.DH_TOKEN }}

- name: Push Image to Docker Hub
run: |-
echo ${{ secrets.DH_PASSWORD }} | docker login docker.io --username ${{ secrets.DH_USERNAME }} --password-stdin
docker image push ${{ secrets.USERNAME }}/gitops-go-app:${{ github.run_number }}
docker image push ${{ secrets.DH_USERNAME }}/gitops-go-app:${{ github.run_number }}
- name: Update values.yaml & Pull Request to Config Repository
run: |-
Expand Down

0 comments on commit 6693844

Please sign in to comment.