This commit is contained in:
Aleksandar Puharic 2022-09-10 02:55:30 +02:00
parent b3e9166fc0
commit 568e47cd50
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -8,9 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
-
name: checkout code
uses: actions/checkout@v3
- name: Cache Docker layers
-
name: Cache Docker layers
uses: actions/cache@v3
id: cache
with:
@ -18,18 +20,22 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up QEMU
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
[worker.oci]
max-parallelism = 16
- name: Login to DockerHub
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build image
-
name: Build image
run: build/bin/build