Skip to content

Commit

Permalink
release.yml login and push in same job
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncK authored Jul 8, 2023
1 parent 8526bb1 commit b483e4e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

jobs:
initialise:
build_and_publish:
runs-on: ubuntu-latest

steps:
Expand All @@ -24,12 +24,7 @@ jobs:
registry: quay.io
username: '$oauthtoken'
password: ${{ secrets.QUAY_OAUTH_TOKEN }}

build_and_push:
needs: initialise
runs-on: ubuntu-latest

steps:
- name: Build docker image and push to quay.io
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit b483e4e

Please sign in to comment.