Skip to content

Merge pull request #59 from PaperMtn/release/4.3.0 #7

Merge pull request #59 from PaperMtn/release/4.3.0

Merge pull request #59 from PaperMtn/release/4.3.0 #7

name: Build and Test Docker Image
on:
push:
env:
TEST_TAG: papermountain/slack-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