Merge pull request #4063 from bcgov/renovate/egose-actions-digest #20
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: 22.Build and Push Tools Images | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/build-push-tools.yml | |
- tools/** | |
workflow_dispatch: | |
env: | |
GITHUB_REGISTRY: ghcr.io | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-push-airflow: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Build and Push | |
uses: egose/actions/docker-build-push@dbaf52744a94ea447277148274488bfcdf6b13a8 | |
with: | |
registry-url: ${{ env.GITHUB_REGISTRY }} | |
registry-username: ${{ github.actor }} | |
registry-password: ${{ secrets.GITHUB_TOKEN }} | |
image-name: bcgov/pltsvc-tools-airflow | |
docker-context: tools/airflow | |
docker-file: tools/airflow/Dockerfile | |
metadata-tags: | | |
type=sha,format=long,prefix=,suffix= | |
build-push-zap: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Build and Push | |
uses: egose/actions/docker-build-push@dbaf52744a94ea447277148274488bfcdf6b13a8 | |
with: | |
registry-url: ${{ env.GITHUB_REGISTRY }} | |
registry-username: ${{ github.actor }} | |
registry-password: ${{ secrets.GITHUB_TOKEN }} | |
image-name: bcgov/pltsvc-tools-zap | |
docker-context: tools/zap | |
docker-file: tools/zap/Dockerfile | |
metadata-tags: | | |
type=sha,format=long,prefix=,suffix= | |
build-push-sonarscan: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Build and Push | |
uses: egose/actions/docker-build-push@dbaf52744a94ea447277148274488bfcdf6b13a8 | |
with: | |
registry-url: ${{ env.GITHUB_REGISTRY }} | |
registry-username: ${{ github.actor }} | |
registry-password: ${{ secrets.GITHUB_TOKEN }} | |
image-name: bcgov/pltsvc-tools-sonarscan | |
docker-context: tools/sonarscan | |
docker-file: tools/sonarscan/Dockerfile | |
metadata-tags: | | |
type=sha,format=long,prefix=,suffix= |