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

23 lines
546 B
YAML
Raw Permalink 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-09-02 15:17:42 +00:00
- 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
2023-05-28 19:53:38 +00:00
- name: Image details
2023-09-02 15:17:42 +00:00
run: docker image inspect php-toolkit-test:${{github.ref_name}}