Skip to content

Commit

Permalink
Create docker-build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
atiterlea authored Oct 23, 2023
1 parent 12643e9 commit c80e570
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: app
on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: [app]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure Remote Driver
run: |
docker buildx create \
--name remote \
--driver remote \
tcp://buildkitd:1234
- name: Build Docker Image
run: |
docker buildx build --builder=remote -t test .

0 comments on commit c80e570

Please sign in to comment.