Skip to content

README update

README update #12

name: Build and Test Docker Image
on:
push:
env:
TEST_TAG: papermountain/gitlab-watchman:test
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ env.TEST_TAG }}
- name: Inspect
run: |
docker image inspect ${{ env.TEST_TAG }}
- name: Test
run: |
docker run --rm ${{ env.TEST_TAG }} --version
docker run --rm ${{ env.TEST_TAG }} --help