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