Skip to content

Commit

Permalink
action debugging is a curse
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-dupdyke committed Jan 13, 2024
1 parent cf2a3c7 commit a431ace
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ main ]

jobs:
build:
login:
runs-on: ubuntu-latest
steps:
- name: Login to dockerhub
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ on:
types: [ "published" ]

jobs:
login:
runs-on: ubuntu-latest
steps:
- name: Login to dockerhub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build:
needs: login
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit a431ace

Please sign in to comment.