Skip to content

Commit

Permalink
[CI] Moved docker login in front of Build images
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Sep 14, 2023
1 parent 7316470 commit f875c7a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/actions/build-images/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ runs:
uses: jvalkeal/build-zoo-handler@v0.0.4
with:
pack-version: 0.30.0
- name: Build Images
env:
TAG: ${{ inputs.version }}
shell: bash
run: .github/actions/build-images/pack-images.sh

# docker hub login
# docker hub login
- uses: docker/login-action@v1
with:
username: ${{ inputs.dockerhub-username }}
password: ${{ inputs.dockerhub-password }}

- name: Build Images
env:
TAG: ${{ inputs.version }}
shell: bash
run: .github/actions/build-images/pack-images.sh

# push images
- name: Push images
env:
Expand Down

0 comments on commit f875c7a

Please sign in to comment.