Skip to content

Merge pull request #4328 from bcgov/renovate/egose-actions-digest #29

Merge pull request #4328 from bcgov/renovate/egose-actions-digest

Merge pull request #4328 from bcgov/renovate/egose-actions-digest #29

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@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
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@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
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@53b95f40ba39c1b460ad6ab6f6ccdb38cc8a9695
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=