Skip to content

Merge pull request #15 from PaperMtn/release/3.1.0 #16

Merge pull request #15 from PaperMtn/release/3.1.0

Merge pull request #15 from PaperMtn/release/3.1.0 #16

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