Skip to content

Commit

Permalink
(chocolatey#2244) Add Docker build into main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCakeIsNaOH committed May 7, 2021
1 parent 57f8b6a commit d053431
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,25 @@ jobs:
- name: Build with Mono
run: |
chmod +x build.sh
$GITHUB_WORKSPACE//build.sh -v
$GITHUB_WORKSPACE//build.sh -v
# Build using Mono in Docker on Ubuntu
docker-build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
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 and push
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile.linux
push: false
tags: chocolatey/choco:latest

0 comments on commit d053431

Please sign in to comment.