php-toolkit/.forgejo/workflows/test-build.yaml

23 lines
546 B
YAML

name: Test
on:
push:
branches:
- '*'
jobs:
test_build:
runs-on: ubuntu-latest
container: git.gertjankrol.nl/docker/toolkit:latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Build image (8.2)
uses: actions/docker-build-push@v4
with:
build-args: |
VERSION=8.2
tags: php-toolkit-test:${{github.ref_name}}
push: false
- name: Image details
run: docker image inspect php-toolkit-test:${{github.ref_name}}