Skip to content

Commit

Permalink
[docker ci] Revert "parallel" builds in seperate actions
Browse files Browse the repository at this point in the history
- Broke tagging images together
- Saved only a few mins
  - x86_64 build is fast, time is all spent on cross compile of arm64
- Also remove evil copy pasta ... which is nice

Was worth an attempt.
  • Loading branch information
cooperlees committed Nov 19, 2023
1 parent 30c6bb3 commit d45bfd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 73 deletions.
@@ -1,4 +1,4 @@
name: docker amd64 (x86_64)
name: docker

on:
push:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: pyfound/black:latest,pyfound/black:${{ env.GIT_TAG }}

Expand All @@ -50,7 +50,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: pyfound/black:latest_release

Expand All @@ -61,7 +61,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: pyfound/black:latest_prerelease

Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/docker_arm64.yml

This file was deleted.

0 comments on commit d45bfd1

Please sign in to comment.