Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
push tag as multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Holzer committed Aug 19, 2022
1 parent c120320 commit 09713c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,32 +311,24 @@ workflows:
jobs:
# Only build squash images for git tags (the final release used in buildbot)
- build-test-and-push-image:
name: build-and-push-git-tag-squash-image
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
context: [build-image-registry]
container-image: "netlify/build"
push-images: false # TODO: revert just for testing out
push-images: true
tests: false
squash-images: true
matrix:
parameters:
executor: [amd64, arm64]
# # For git tags we still want to build and push non squashed images
# - build-and-push-images:
# filters:
# tags:
# only: /^v.*/
# branches:
# ignore: /.*/
# name: build-and-push-git-tag-image
# context: build-image-registry
# container-image: "netlify/build"
# build-test-image: false
# save-images-in-workflow: false
- create-multi-arch-image:
context: [build-image-registry]
container-image: "netlify/build"
requires:
- build-test-and-push-image

# Workflow responsible for building, pushing and testing branches and PR forks
build-test-and-push:
Expand Down
2 changes: 2 additions & 0 deletions focal-amd64.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
schemaVersion: "2.0.0"

# These command Tests are only working on amd64 on the CI.
# Homebrew is not installed on the arm64 image
commandTests:
- name: "Elm compiler"
command: "elm"
Expand Down

0 comments on commit 09713c7

Please sign in to comment.