From 138c59b8101b558dfca0a2902af1368d495e9c6b Mon Sep 17 00:00:00 2001 From: xZero707 Date: Tue, 13 Sep 2022 23:22:32 +0200 Subject: [PATCH] Improve syntax --- .github/workflows/image.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 6a0195c..9bdc247 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -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 \ No newline at end of file