docker-twitchlite/.forgejo/workflows/test.yml
Magnus Walbeck 601090190c
All checks were successful
Test / lint (pull_request) Successful in 4s
Test / test (pull_request) Successful in 36s
Fix context location
2025-02-02 15:40:54 +01:00

34 lines
836 B
YAML

name: Test
on: pull_request
jobs:
lint:
if: github.ref != 'refs/heads/renovate/*'
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: https://github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: helix/Dockerfile
test:
runs-on: dind
steps:
- uses: actions/checkout@v4
- name: Get docker tags
id: tags
shell: sh
env:
CUSTOM_TAGS: "latest"
IMAGE_NAME: "mwalbeck/twitchlite"
run: |
determine-docker-tags
dockerd &
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Test build
uses: https://github.com/docker/build-push-action@v6
with:
context: helix
tags: ${{ steps.tags.outputs.tags }}