Skip to content

Commit

Permalink
Merge pull request #1 from chadhutchins182/chadhutchins182-pr-action-…
Browse files Browse the repository at this point in the history
…test-1

Create docker-build-pr.yml
  • Loading branch information
chadhutchins182 authored Nov 29, 2020
2 parents 965ff5e + de43eb7 commit 9041392
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/docker-build-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker Build for Pull Request

on:
pull_request:
branches: [ main ]

jobs:
path-context:
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H%M.%S')"
-
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
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/arm32v7
push: false
tags: chadhutchins182/rtlsdr-airband-arm32v7:${{steps.date.outputs.date}}
build-args: |
VERSION=v3.2.1
PLATFORM=armv7-generic

0 comments on commit 9041392

Please sign in to comment.