Skip to content

1.0.0

1.0.0 #36

Workflow file for this run

name: Release
on:
release:
types: [released]
jobs:
buildDockerImage:
strategy:
matrix:
docker: ['ubi','scratch']
name: Build docker image ${{ matrix.docker }}
runs-on: ubuntu-latest
steps:
- name: Release if tagged
if: "!startswith(github.ref, 'refs/tags/v')"
run: exit 78
- name: build
uses: sysdiglabs/[email protected]
with:
exporter: promcat-jmx-exporter
artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }}
artifactory_username: _json_key
sysdig_secure_token: ${{ secrets.SYSDIG_SECURE_TOKEN }}
tag_name: ${{ github.event.release.tag_name }}
target: ${{ matrix.docker }}
repository: us-docker.pkg.dev
dockerfile: "./build/Dockerfile"