Merge pull request #15 from PaperMtn/release/3.1.0 #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |