Skip to content

Commit

Permalink
ci: build test for PR on develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravinou committed Nov 26, 2023
1 parent ffa56e0 commit 8e49af8
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/docker-image-test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
name: Test Docker Container Build on Pull Request

on:
pull_request:
branches:
- main
pull_request:
branches:
- main
- develop

jobs:
build-container:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build Docker Container
run: |
docker buildx build --platform linux/amd64,linux/arm64 -t borgwarehouse:pr-${{ github.event.pull_request.number }} .
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Container
run: |
docker buildx build --platform linux/amd64,linux/arm64 -t borgwarehouse:pr-${{ github.event.pull_request.number }} .

0 comments on commit 8e49af8

Please sign in to comment.