Skip to content

Commit

Permalink
build: renamed improperly named check-gh-token action
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
  • Loading branch information
clementnuss committed Mar 8, 2023
1 parent f531f2d commit 080fbb4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/hostlookuper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
push:

jobs:
check-gh-token:
check-dockerhub-token:
runs-on: ubuntu-latest
outputs:
HAS_DOCKERHUB_TOKEN: ${{ steps.gh-token.outputs.HAS_DOCKERHUB_TOKEN }}
HAS_DOCKERHUB_TOKEN: ${{ steps.dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN }}
steps:
- id: gh-token
- id: dockerhub-token
env:
HAS_DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN != '' }}
run: |
Expand All @@ -32,10 +32,10 @@ jobs:
build:
needs:
- lint
- check-gh-token
- check-dockerhub-token
if: |
!startsWith(github.ref, 'refs/tags/v') &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
release:
needs:
- lint
- check-gh-token
- check-dockerhub-token
if: |
startsWith(github.ref, 'refs/tags/v') &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 080fbb4

Please sign in to comment.