Skip to content

Bump docker/build-push-action from 6.10.0 to 6.11.0 #1041

Bump docker/build-push-action from 6.10.0 to 6.11.0

Bump docker/build-push-action from 6.10.0 to 6.11.0 #1041

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version-file: ./go.mod
- name: Build
run: make
- name: Test
run: make test
test-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Build Docker image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
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 --rm -v $PWD/tests/bookinfo:/bookinfo ${{ steps.build_docker.outputs.digest }} -dirpath /bookinfo