fix: enable CGO in build #3
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 & push Docker image | |
on: | |
push: | |
branches: | |
- main | |
- alpha | |
- 'feature/**' | |
- 'bugfix/**' | |
# Cancel jobs that are already running for the same branch/pull request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: attributeerror/gh-actions-workflows/.github/workflows/build-docker-image.yaml@main | |
permissions: | |
packages: write # to be able to push Docker images | |
contents: write # to be able to tag commits | |
with: | |
package-name: currency-rates-cronjob |