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

25 lines
619 B
YAML

name: Release
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 and push
uses: actions/docker-build-push@v4
with:
push: false
tags: toolkit-test:${{ github.ref_name }}
- name: Inspect image
run: |
docker image ls
docker image inspect toolkit-test:${{ github.ref_name }}