Skip to content

Commit

Permalink
Use GHA for build
Browse files Browse the repository at this point in the history
  • Loading branch information
sn0wm1ku committed Mar 4, 2024
1 parent 70ff802 commit a6174bb
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:
steps:
- name: Checkout
uses: actions/Checkout@v4 #version in small letter
- name: Build
run: |
cd Docker
docker build --platform linux/amd64,linux/arm64 -t ${{ github.repository }}:latest .

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:Docker"
platforms: linux/amd64,linux/arm64
push: false
tags: user/app:latest

0 comments on commit a6174bb

Please sign in to comment.