Skip to content

Commit c508f91

Browse files
authored
Container image creation (#5)
* Adding workflow to build a container image * fixing action version * fixing action version * fixing action version * fixing action version * fixing action version * fixing docker container tag * Adding workflow to automatically push a container image to the container registry * Add reference to job
1 parent 9a33f7e commit c508f91

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-container-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- synchronize
88
- reopened
99
jobs:
10-
build:
10+
container-build:
1111
name: Build
1212
runs-on: ubuntu-latest
1313
steps:

.github/workflows/upload-container-image.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
types:
55
- closed
66
jobs:
7-
build:
7+
container-push:
88
name: Push Container Image
99
runs-on: ubuntu-latest
10+
needs: container-build
1011
steps:
1112
- name: Download container image from cache
1213
uses: actions/download-artifact@v3.0.2

0 commit comments

Comments
 (0)