add login to dockerhub with secret token
All checks were successful
/ release-and-build (push) Successful in 58s
All checks were successful
/ release-and-build (push) Successful in 58s
This commit is contained in:
@@ -18,11 +18,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Prepare Environment and Read Config
|
||||
id: prep
|
||||
run: |
|
||||
@@ -120,6 +115,12 @@ jobs:
|
||||
if: steps.check_changes.outputs.should_build == 'true'
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and Push Docker Image
|
||||
if: steps.check_changes.outputs.should_build == 'true'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user