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

26 lines
734 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
steps:
2023-09-01 20:52:10 +00:00
# - name: Install dependencies # not present in `docker` container
# run: apk add --no-cache git nodejs
2023-05-28 19:19:06 +00:00
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: actions/docker-setup-buildx@v2
2023-09-01 20:52:10 +00:00
- name: Build and push
uses: actions/docker-build-push@v4
with:
push: true
tags: toolkit-test:${{ github.ref_name }}
# - name: Build container
# run: docker build . -t 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 }}