Skip to content

Merge pull request #4247 from bcgov/renovate/actions-checkout-digest #27

Merge pull request #4247 from bcgov/renovate/actions-checkout-digest

Merge pull request #4247 from bcgov/renovate/actions-checkout-digest #27

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@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@bbf744210b38b07e89866354914efbffc8a47e5a
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@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@bbf744210b38b07e89866354914efbffc8a47e5a
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@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Build and Push
uses: egose/actions/docker-build-push@bbf744210b38b07e89866354914efbffc8a47e5a
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=