Skip to content

Commit

Permalink
Update .github/workflows/next-build.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Update .github/workflows/next-build.yaml

Update .github/workflows/release.yml

Update .github/workflows/next-build.yaml

Update RELEASE.md

Update VERSION

Update cmd/configbump/main.go

Update make-release.sh

Update make-release.sh
  • Loading branch information
nickboldt committed Sep 16, 2023
1 parent 7c08494 commit 9da4142
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/next-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019-2023 Red Hat, Inc.
# Copyright (c) 2023 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 @@ -36,12 +36,12 @@ jobs:
- id: vars
shell: bash
run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push both short SHA tag and next tag
uses: docker/build-push-action@v3
with:
file: build/dockerfiles/Dockerfile
platforms: linux/amd64,linux/ppc64le,linux/arm64
platforms: linux/amd64,linux/arm64
push: true
tags: |
quay.io/che-incubator/configbump:next
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019-2023 Red Hat, Inc.
# Copyright (c) 2023 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
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Eclipse Che Configbump release process

Use "Release Che Configbump" workflow for release, which can be triggered manually on GitHub page of the repository at Actions -> "Release Che Configbump" -> "Run workflow"

Normally this workflow will be triggered as part of a Che release - see https://github.com/eclipse-che/che-release/actions/workflows/release-orchestrate-overall.yml
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.63.0-SNAPSHOT
7.75.0-SNAPSHOT
2 changes: 1 addition & 1 deletion cmd/configbump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type opts struct {

// Version returns the version of the program
func (opts) Version() string {
return "config-bump 7.63.0-SNAPSHOT"
return "config-bump 7.75.0-SNAPSHOT"
}

const controllerName = "config-bump"
Expand Down
6 changes: 3 additions & 3 deletions make-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2019-2023 Red Hat, Inc.
# Copyright (c) 2023 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 @@ -36,7 +36,7 @@ done
usage ()
{
echo "Usage: $0 --version [VERSION TO RELEASE] [--trigger-release]"
echo "Example: $0 --version 7.7.0 --trigger-release"; echo
echo "Example: $0 --version 7.75.0 --trigger-release"; echo
}

if [[ ! ${VERSION} ]]; then
Expand All @@ -50,7 +50,7 @@ releaseMachineExec() {
--tag "${REGISTRY}/${ORGANIZATION}/${IMAGE}:${VERSION}" \
--push \
--provenance=false \
-f ./${DOCKERFILE} . --platform "linux/amd64,linux/ppc64le,linux/arm64" | cat
-f ./${DOCKERFILE} . --platform "linux/amd64,linux/arm64" | cat
echo "Pushed ${REGISTRY}/${ORGANIZATION}/${IMAGE}:${VERSION}"
}

Expand Down

0 comments on commit 9da4142

Please sign in to comment.