Skip to content

chore: Push builds to privacybydesign registry #6

chore: Push builds to privacybydesign registry

chore: Push builds to privacybydesign registry #6

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
tags: |
ghcr.io/privacybydesign/yivi-portal:${{ github.workflow_sha }}
ghcr.io/privacybydesign/yivi-portal:latest