Skip to content

Commit

Permalink
set multiarch container as default, disable single-arch build
Browse files Browse the repository at this point in the history
Change-Id: I3bf13419e30b11b520b4243dbb21b0cf6374547f
Signed-off-by: nickboldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Feb 24, 2021
1 parent 72ef871 commit 7e808c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-multiarch.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020 Red Hat, Inc.
# Copyright (c) 2020-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down Expand Up @@ -111,5 +111,5 @@ jobs:
echo "[!] The job 'build-images' didn't provide any outputs. Can't create the manifest list."
exit 1;
fi
docker manifest create ${{ env.IMAGE }}:multiarch-next $AMEND
docker manifest push ${{ env.IMAGE }}:multiarch-next
docker manifest create ${{ env.IMAGE }}:next $AMEND
docker manifest push ${{ env.IMAGE }}:next
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020 Red Hat, Inc.
# Copyright (c) 2020-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand All @@ -12,16 +12,18 @@ name: CI
on:
workflow_dispatch:
inputs: {}
push:
branches:
- master
# disabled as we have ci-multiarch.yaml now
# push:
# branches:
# - master

env:
IMAGE_FULL: quay.io/eclipse/che-dashboard:amd64-next
CACHE_IMAGE_FULL: docker.io/cheincubator/che-dashboard:cache

jobs:
docker-build:
runs-on: ubuntu-18.04
env:
IMAGE_FULL: quay.io/eclipse/che-dashboard:next
CACHE_IMAGE_FULL: docker.io/cheincubator/che-dashboard:cache
steps:
-
name: "Checkout Che Dashboard source code"
Expand Down

0 comments on commit 7e808c2

Please sign in to comment.