Skip to content

Commit f003a52

Browse files
author
Sean Sundberg
authored
Updates base image to v1.4.2 (#78)
- Adds workflow to create PR when cli-tools-core releases a new version - Adds workflwo to notify downstream repos when new version released Signed-off-by: Sean Sundberg <seansund@us.ibm.com>
1 parent dafbf93 commit f003a52

4 files changed

Lines changed: 40 additions & 2 deletions

File tree

.github/workflows/docker-build.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,23 @@ jobs:
133133
platforms: linux/amd64,linux/arm64
134134
tags: ${{ steps.cntk-meta.outputs.tags }}
135135
labels: ${{ steps.cntk-meta.outputs.labels }}
136+
137+
notify:
138+
needs: ["build"]
139+
runs-on: ubuntu-latest
140+
if: ${{ github.event_name != 'pull_request' }}
141+
142+
strategy:
143+
matrix:
144+
repo:
145+
- cloud-native-toolkit/image-github-terraform-runner
146+
- cloud-native-toolkit/image-cli-tools-web-terminal
147+
148+
steps:
149+
- name: Repository dispatch ${{ matrix.repo }}
150+
uses: cloud-native-toolkit/action-repository-dispatch@main
151+
with:
152+
notifyRepo: ${{ matrix.repo }}
153+
eventType: released
154+
env:
155+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Update dependencies
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the main branch
5+
on:
6+
repository_dispatch:
7+
types: [ released ]
8+
9+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
10+
jobs:
11+
update:
12+
uses: cloud-native-toolkit/action-workflows/.github/workflows/update-base-image.yaml@v1
13+
with:
14+
repo: ${{ github.event.client_payload.repo }}
15+
ref: ${{ github.event.client_payload.ref }}
16+
sha: ${{ github.event.client_payload.sha }}
17+
secrets:
18+
TOKEN: ${{ secrets.TOKEN }}

Containerfile-alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG TERRAFORM_VERSION=v1.2
2-
FROM quay.io/cloudnativetoolkit/cli-tools-core:${TERRAFORM_VERSION}-v1.4.1-alpine
2+
FROM quay.io/cloudnativetoolkit/cli-tools-core:${TERRAFORM_VERSION}-v1.4.2-alpine
33

44
ARG TARGETPLATFORM
55

Containerfile-fedora

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG TERRAFORM_VERSION=v1.2
2-
FROM quay.io/cloudnativetoolkit/cli-tools-core:${TERRAFORM_VERSION}-v1.4.1-fedora
2+
FROM quay.io/cloudnativetoolkit/cli-tools-core:${TERRAFORM_VERSION}-v1.4.2-fedora
33

44
ARG TARGETPLATFORM
55

0 commit comments

Comments
 (0)