Skip to content

Commit

Permalink
use env to require approval before pushing to dockerhub
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
jflo committed Mar 8, 2024
1 parent fbf47bf commit 773ff0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
jobs:
hadolint:
runs-on: ubuntu-22.04
environment: production
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down Expand Up @@ -42,6 +43,7 @@ jobs:
- ubuntu-22.04
- [self-hosted, ARM64]
runs-on: ${{ matrix.platform }}
environment: production
steps:
- name: Prepare
id: prep
Expand Down Expand Up @@ -89,6 +91,7 @@ jobs:
multiArch:
needs: buildDocker
runs-on: ubuntu-22.04
environment: production
permissions:
contents: read
packages: write
Expand All @@ -113,6 +116,7 @@ jobs:
amendNotes:
needs: multiArch
runs-on: ubuntu-22.04
environment: production
permissions:
contents: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
jobs:
dockerPromoteX64:
runs-on: ubuntu-22.04
environment: production
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
Expand Down

0 comments on commit 773ff0a

Please sign in to comment.