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