Bump ubi8 from b6616b2
to 2c05f0b
#598
Workflow file for this run
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: push-tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: 'stable' | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |
test-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Build Docker image | |
uses: docker/build-push-action@44ea916f6c540f9302d50c2b1e5a8dc071f15cdf | |
id: build_docker | |
with: | |
context: . | |
push: false | |
- name: Check Docker image - help | |
run: docker run ${{ steps.build_docker.outputs.digest }} -h | |
- name: Check Docker image - scan | |
run: docker run ${{ steps.build_docker.outputs.digest }} -dirpath / |