Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
build-image:
runs-on: ubuntu-latest
environment: build
permissions:
contents: read
id-token: write

steps:
- name: Download files from release
Expand Down Expand Up @@ -51,9 +54,10 @@ jobs:

- name: Login to DockerHub
uses: docker/login-action@v4
env:
DOCKERHUB_OIDC_CONNECTIONID: bc91ef0a-e24f-4b43-bfa2-d1a7b06732e6
with:
username: devolutionsbot
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
username: devolutions

- name: Build and push image
id: docker_build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ jobs:

build-image:
needs: [build]
permissions:
contents: read
id-token: write
secrets: inherit
uses: ./.github/workflows/build-image.yml
with:
Expand Down
Loading