Skip to content

Commit

Permalink
update docker.yml for arm and x86
Browse files Browse the repository at this point in the history
  • Loading branch information
asdlokj1qpi23 committed Jan 4, 2024
1 parent 02e844d commit 43510e5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Build and push Docker images
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Build release and export
id: build_rel
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
platforms: linux/amd64
context: .
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push Docker images
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/386
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Build release and export
id: build_rel
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
platforms: linux/386
context: .
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push Docker images
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/arm/v7
Expand All @@ -204,7 +204,7 @@ jobs:
- name: Build release and export
id: build_rel
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
platforms: linux/arm/v7
context: .
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push Docker images
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/arm64
Expand All @@ -265,7 +265,7 @@ jobs:
- name: Build release and export
id: build_rel
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
platforms: linux/arm64
context: .
Expand Down

0 comments on commit 43510e5

Please sign in to comment.