Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Docker Image Tags for Helm Release Process #2034

Merged
merged 59 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d6f20d3
adding image update workflow
P0NDER0SA Jan 7, 2025
17ddb23
attempting to see if this works
P0NDER0SA Jan 7, 2025
9a98b96
changing order
P0NDER0SA Jan 7, 2025
cfdadb1
more updates
P0NDER0SA Jan 7, 2025
fa0dbe8
push
P0NDER0SA Jan 7, 2025
578cb23
updating to use secret for manifests
P0NDER0SA Jan 7, 2025
3e46adf
trying different token
P0NDER0SA Jan 7, 2025
f8a1c14
moving around
P0NDER0SA Jan 7, 2025
96e1819
updating
P0NDER0SA Jan 7, 2025
61e1ee2
adding dummy file
P0NDER0SA Jan 7, 2025
9000d4f
trying a new approach
P0NDER0SA Jan 7, 2025
0ae8f65
new approach
P0NDER0SA Jan 7, 2025
dc580b1
update name
P0NDER0SA Jan 7, 2025
510e699
adding back
P0NDER0SA Jan 7, 2025
3835eea
fixing formatting
P0NDER0SA Jan 7, 2025
031de8f
removing ref
P0NDER0SA Jan 7, 2025
724fbb1
adding back workflow dispatch
P0NDER0SA Jan 7, 2025
5fac017
updating name
P0NDER0SA Jan 7, 2025
b42103a
getting itv to show up
P0NDER0SA Jan 7, 2025
8d4446e
still broken?
P0NDER0SA Jan 7, 2025
098f301
trhying this more like the other one
P0NDER0SA Jan 7, 2025
439b2b7
trying a different key
P0NDER0SA Jan 7, 2025
2144f07
trying this again
P0NDER0SA Jan 7, 2025
7e9c50e
adding base checkout
P0NDER0SA Jan 7, 2025
0557f54
trying to remove rthis
P0NDER0SA Jan 7, 2025
5114d62
one last stab at this
P0NDER0SA Jan 7, 2025
75b28c4
removing pasth
P0NDER0SA Jan 7, 2025
68a8c79
trying this thing
P0NDER0SA Jan 7, 2025
38259d4
breakthrough!
P0NDER0SA Jan 7, 2025
6c393df
fixing path
P0NDER0SA Jan 7, 2025
c43bd6e
adjusting branch protection
P0NDER0SA Jan 7, 2025
8859784
attempting to add the permission
P0NDER0SA Jan 7, 2025
0ec70c1
trying the other way
P0NDER0SA Jan 7, 2025
d1f7597
trying it exasctly like the other one
P0NDER0SA Jan 7, 2025
fd1ed1e
outputting the file to see if it does the update properly
P0NDER0SA Jan 8, 2025
7b8eaaa
updating var
P0NDER0SA Jan 8, 2025
501fd1f
updating sha
P0NDER0SA Jan 8, 2025
bccfd2c
fixing sha
P0NDER0SA Jan 8, 2025
61f92fd
fixing sha
P0NDER0SA Jan 8, 2025
84158f0
fixing sha
P0NDER0SA Jan 8, 2025
4f7c72c
fixing sha
P0NDER0SA Jan 8, 2025
b704929
updating repo
P0NDER0SA Jan 8, 2025
71a4723
adjusting repo
P0NDER0SA Jan 8, 2025
4188644
adjusting branch protection
P0NDER0SA Jan 8, 2025
4ade127
trying a different way
P0NDER0SA Jan 8, 2025
b1f50b4
renaming file
P0NDER0SA Jan 8, 2025
e16bd3b
udpating sha
P0NDER0SA Jan 8, 2025
85d0820
formatting
P0NDER0SA Jan 8, 2025
a7d0756
formatting
P0NDER0SA Jan 8, 2025
8297fb4
TRYINg veriable
P0NDER0SA Jan 8, 2025
cab7a17
fixing docker tag
P0NDER0SA Jan 8, 2025
f6e9a12
fixing gtrigger
P0NDER0SA Jan 8, 2025
f67a176
push
P0NDER0SA Jan 8, 2025
78962bb
finally fixing docker tag
P0NDER0SA Jan 8, 2025
da56196
final adjustments
P0NDER0SA Jan 8, 2025
5a5023c
updating to be able to run manually
P0NDER0SA Jan 8, 2025
f15e4cb
fixing component
P0NDER0SA Jan 8, 2025
1df1978
removing the var for component
P0NDER0SA Jan 8, 2025
1fb9d43
Merge branch 'main' into helm-tagging
P0NDER0SA Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/call-manifests-update-docker-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Call Manifests Update Docker Tag

on:
workflow_dispatch:
push:
branches:
- main

jobs:
update-docker-tag-in-manifests:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set Docker Tag
run: echo "DOCKER_TAG=${GITHUB_SHA::7}" >> $GITHUB_ENV
env:
GITHUB_SHA: ${{ github.sha }}

- name: Trigger repository_dispatch
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.MANIFESTS_WORKFLOW_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/cds-snc/notification-manifests/dispatches \
-d '{"event_type":"update-docker-image","client_payload":{"component":"ADMIN","docker_tag":"${{ env.DOCKER_TAG }}"}}'
Loading