Skip to content

Merge pull request #168 from bcgov/Stories/ECER-1019 #38

Merge pull request #168 from bcgov/Stories/ECER-1019

Merge pull request #168 from bcgov/Stories/ECER-1019 #38

Workflow file for this run

name: API Build
on:
push:
branches:
- master
paths:
- src/**
- .github/workflows/api-build.yml
- .github/workflows/build-template.yml
pull_request:
branches: ["master", "stories/**"]
paths:
- src/**
- .github/workflows/api-build.yml
- .github/workflows/build-template.yml
jobs:
build:
permissions:
contents: read
packages: write
id-token: write
uses: ./.github/workflows/build-template.yml
with:
IMAGE_CONTEXT: src
IMAGE_FILE: src/api.Dockerfile
IMAGE_NAME: ${{ github.repository }}/api
REGISTRY: ghcr.io
secrets:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}