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

23 lines
575 B
YAML
Raw Normal View History

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