Skip to content

Commit

Permalink
CI-fix: Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Feb 2, 2024
1 parent 6a32754 commit 36370bc
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ on:

jobs:
build-image:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
submodules: true
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: andy5995
password: ${{ secrets.UNCLE_ANDY_DOCKERHUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
submodules: true
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: andy5995
password: ${{ secrets.UNCLE_ANDY_DOCKERHUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: andy5995/linuxdeploy:latest
cache-from: type=registry,ref=andy5995/linuxdeploy:buildcache
cache-to: type=registry,ref=andy5995/linuxdeploy:buildcache,mode=max
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: andy5995/linuxdeploy:latest
cache-from: type=registry,ref=andy5995/linuxdeploy:buildcache
cache-to: type=registry,ref=andy5995/linuxdeploy:buildcache,mode=max

0 comments on commit 36370bc

Please sign in to comment.