Merge tag '0.1.2' into develop

Fix up the buildx shite
This commit is contained in:
Fergal Moran
2020-09-05 08:13:46 +01:00

View File

@@ -1,18 +1,14 @@
name: build-server name: build-server
on: on:
push: push:
branches: trunk branches: trunk
jobs: jobs:
buildx: buildx:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- - name: Checkout
name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- - name: Set up Docker Buildx
name: Set up Docker Buildx
id: buildx id: buildx
uses: crazy-max/ghaction-docker-buildx@v3 uses: crazy-max/ghaction-docker-buildx@v3
with: with:
@@ -24,11 +20,10 @@ jobs:
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- - name: Run Buildx
name: Run Buildx
run: | run: |
docker buildx build \ docker buildx build \
--push \ --push \
--platform linux/arm/v7 \ --platform linux/arm/v7 \
-t fergalmoran/bitchmin-api -f ./server/Dockerfile ./server -t fergalmoran/bitchmin-api -f ./server/Dockerfile ./server