Skip to content

Commit

Permalink
Add build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Jan 11, 2022
1 parent bef0c33 commit ec57997
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker build on push
env:
DOCKER_CLI_EXPERIMENTAL: enabled

on: push

jobs:
build:
runs-on: ubuntu-18.04
name: Build
steps:
- name: Checkout project
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Setup Docker buildx action
uses: docker/setup-buildx-action@v1

- name: Run Docker buildx
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag tor-server .

0 comments on commit ec57997

Please sign in to comment.