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

18 lines
466 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 container (8.2)
run: docker build . --build-arg VERSION=8.2 -t php-toolkit-test:${{ github.ref_name }}
- name: Image details
run: docker image inspect php-toolkit-test:${{ github.ref_name }}