Skip to content

Bump the actions group with 3 updates #83

Bump the actions group with 3 updates

Bump the actions group with 3 updates #83

name: Build Test Image
on:
pull_request:
branches:
- main
merge_group:
types:
- checks_requested
jobs:
build:
name: Build Test Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/[email protected]
- id: package-versions
run: echo "data=$(cat package-versions.json)" >> $GITHUB_OUTPUT
- id: docker_build
uses: docker/[email protected]
with:
context: .
push: false
load: true
tags: kineticcafe/sqitch-pgtap:test
build-args: |
ALPINE_VERSION=${{ fromJSON(steps.package-versions.outputs.data).alpine.version }}
PGTAP_VERSION=${{ fromJSON(steps.package-versions.outputs.data).pgtap.version }}
PG_PROVE_VERSION=${{ fromJSON(steps.package-versions.outputs.data).pg_prove.version }}
SQITCH_VERSION=${{ fromJSON(steps.package-versions.outputs.data).sqitch.version }}
__DOCKERFILE_VERSION__=${{ fromJSON(steps.package-versions.outputs.data).version }}
cache-from: type=gha
cache-to: type=gha,mode=max
- run: ./kineticcafe-sqitch-pgtap version
env:
IMAGE: kineticcafe/sqitch-pgtap:test