File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1
1
# https://github.com/bcgov/helm-charts/tree/master/charts/backup-storage#build-the-container-image-using-github-actions
2
- name : Create and publish Backup Storage Docker image Gold
3
-
4
- on :
5
- workflow_dispatch :
6
- inputs :
7
- replace_docker_image :
8
- description : ' Do we use a custom docker image?'
9
- type : boolean
10
- required : true
11
- default : ' false'
12
- tag_for_image :
13
- default : ' testing'
14
- required : true
2
+ name : Create and publish a devevlopment Backup Storage Image
3
+
4
+ on : workflow_dispatch
15
5
16
6
env :
17
7
GITHUB_REGISTRY : ghcr.io
32
22
run : git clone https://github.com/BCDevOps/backup-container.git
33
23
34
24
- name : Replace the dockerfile
35
- if : ${{ github.event.inputs.replace_docker_image == 'true'}}
36
25
run : cp ./docker/backup-container/* ./backup-container/docker
37
26
38
27
- name : Log in to the GitHub Container registry
47
36
with :
48
37
context : backup-container/docker
49
38
push : true
50
- tags : ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{github.event.inputs.tag_for_image}}
39
+ tags : ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:development
51
40
labels : sso-keycloak-backup
You can’t perform that action at this time.
0 commit comments