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

18 lines
460 B
YAML
Raw Normal View History

2023-05-28 19:53:38 +00:00
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
2023-05-28 21:16:44 +00:00
- name: Build container
2023-05-28 19:53:38 +00:00
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 }}