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

20 lines
516 B
YAML
Raw Normal View History

2023-05-28 19:19:06 +00:00
name: Release
on:
push:
branches:
- '*'
jobs:
test_build:
runs-on: ubuntu-latest
2023-09-01 20:47:16 +00:00
container: docker:dind
2023-05-28 19:19:06 +00:00
steps:
- name: Install dependencies # not present in `docker` container
run: apk add --no-cache git nodejs
- name: Check out repository
uses: actions/checkout@v3
2023-05-28 21:16:32 +00:00
- name: Build container
2023-05-28 19:19:06 +00:00
run: docker build . -t toolkit-test:${{ github.ref_name }}
- name: Inspect image
run: docker image inspect toolkit-test:${{ github.ref_name }}