This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(base images): decouple build of base images to separate gh-acti…
…on (#464) * chore(sidecar images): introduce separate Dockerfile for each sidecar image Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
- Loading branch information
1 parent
0ed7241
commit 7c48b8f
Showing
34 changed files
with
847 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# Copyright (c) 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/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
name: Rebuild Sidecar Images / Push to Main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'dockerfiles/**' | ||
|
||
jobs: | ||
rebuild-images-on-push: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone source code | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Login to quay.io" | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: quay.io | ||
username: ${{ secrets.QUAY_USERNAME }} | ||
password: ${{ secrets.QUAY_PASSWORD }} | ||
|
||
- name: Login to docker.io | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: Rebuild sidecar images | ||
run: ./build/workflows/build-sidecar-images-on-push.sh --push --rm --update-devfiles | ||
|
||
- name: Bump devfiles to new sidecar tags | ||
run: ./build/workflows/bump-devfiles-to-new-sidecar-tags.sh --pr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.Dockerfile |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.