Image tests #159
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: 'Pull request/Push: Build test' | |
on: | |
pull_request: | |
branches: | |
- dev | |
- master | |
- main | |
- beta | |
push: | |
branches: | |
- dev | |
- master | |
- main | |
- beta | |
jobs: | |
docker-build: | |
name: 'Docker build and create an image' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build Docker image | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
push: false | |
tags: test |