Skip to content

Commit

Permalink
fix: remove arm64 off of main
Browse files Browse the repository at this point in the history
  • Loading branch information
apaletta3 committed Mar 18, 2024
1 parent 5501a1e commit a1a577b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/build-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
push: false
target: base1
secrets: inherit

build-base2-image:
name: Build Base2 Image
needs:
Expand All @@ -75,17 +75,6 @@ jobs:
with:
project_name: ${{ needs.prepare-environment.outputs.project_name }}
project_version: ${{ needs.prepare-environment.outputs.project_version }}
push: false
push: true
target: base3
secrets: inherit

build-development-image:
name: Build Development Image
needs:
- prepare-environment
- build-base3-image
uses: ./.github/workflows/build-image.yml
with:
project_name: ${{ needs.prepare-environment.outputs.project_name }}
project_version: ${{ needs.prepare-environment.outputs.project_version }}
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Apache License 2.0

name: Build Image
name: Build Development Image

on:
workflow_call:
Expand Down Expand Up @@ -65,4 +65,4 @@ jobs:
cache-to: type=gha,mode=max
target: ${{ inputs.target }}
platforms: linux/amd64,linux/arm64
push: ${{ inputs.push }}
push: ${{ inputs.push }}
4 changes: 2 additions & 2 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
lfs: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
if: matrix.architecture == 'arm64'
if: matrix.architecture == 'arm64' && github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
platforms: arm64
- name: Login to DockerHub
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
lfs: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
if: matrix.architecture == 'arm64'
if: matrix.architecture == 'arm64' && github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
platforms: arm64
- name: Login to DockerHub
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: packages/python/
packages-dir: packages/python/

deploy-documentation:
name: Deploy Documentation
Expand Down
2 changes: 0 additions & 2 deletions docker/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ RUN mkdir /tmp/openssl \
&& mv /usr/local/ssl/bin/openssl /usr/bin/openssl \
&& rm -rf /tmp/openssl

FROM base3 as root-user

## Black

RUN python3.11 -m pip install black black[jupyter]
Expand Down

0 comments on commit a1a577b

Please sign in to comment.