Merge pull request #19 from gowizzard/development #44
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: Docker Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
IMAGE_NAME: ${{ github.repository }} | |
IMAGE_TAG: "test" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build the Docker image | |
run: docker build -t ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} . |