|
|
|
@ -22,10 +22,10 @@ jobs:
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
- name: Install Crystal
|
|
|
|
|
uses: oprypin/install-crystal@v1.2.4
|
|
|
|
|
uses: crystal-lang/install-crystal@v1.6.0
|
|
|
|
|
with:
|
|
|
|
|
crystal: 1.2.2
|
|
|
|
|
|
|
|
|
@ -38,15 +38,15 @@ jobs:
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
|
with:
|
|
|
|
|
platforms: arm64
|
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
|
|
|
|
|
- name: Login to registry
|
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
with:
|
|
|
|
|
registry: quay.io
|
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
@ -54,7 +54,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker AMD64 image for Push Event
|
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
file: docker/Dockerfile
|
|
|
|
@ -66,7 +66,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker ARM64 image for Push Event
|
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
file: docker/Dockerfile.arm64
|
|
|
|
|