Skip to content
Merged
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
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
name: Docker
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

strategy:
fail-fast: false
matrix:
Expand All @@ -17,7 +21,7 @@ jobs:
- docworker-lambda

env:
PUBLIC_IMAGE_PREFIX: 'datastewardshipwizard'
PUBLIC_IMAGE_PREFIX: 'ghcr.io/ds-wizard'
IMAGE_BASE_NAME: 'python-base'
DOCKER_META_CONTEXT: '.'
DOCKER_META_FILE: './${{ matrix.tag }}/Dockerfile'
Expand Down Expand Up @@ -63,13 +67,14 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

# PUBLIC: DOCKER HUB
# PUBLIC: GITHUB CONTAINER REGISTRY
- name: Docker login [public]
if: github.event_name != 'pull_request'
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta [public]
id: meta-public
Expand Down
Loading