disabled pushing attestation to registry #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Container Images | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
release: | |
types: [published] | |
permissions: | |
contents: read | |
packages: write | |
attestations: write | |
id-token: write | |
jobs: | |
api: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build API | |
uses: ./.github/actions/docker | |
with: | |
name: api | |
dockerfile: self-hosted/docker/api.Dockerfile | |
token: ${{ secrets.GITHUB_TOKEN }} | |
frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Frontend | |
uses: ./.github/actions/docker | |
with: | |
name: frontend | |
dockerfile: self-hosted/docker/frontend.Dockerfile | |
token: ${{ secrets.GITHUB_TOKEN }} | |
worker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Output Worker | |
uses: ./.github/actions/docker | |
with: | |
name: worker | |
dockerfile: self-hosted/docker/output-worker.Dockerfile | |
token: ${{ secrets.GITHUB_TOKEN }} |