We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 686444d commit a14eabeCopy full SHA for a14eabe
.github/workflows/container_build.yml
@@ -16,9 +16,16 @@ jobs:
16
- name: Checkout
17
uses: actions/checkout@v2
18
19
+ - name: Get creation time
20
+ id: time
21
+ uses: actions/github-script@v2
22
+ with:
23
+ script: |
24
+ core.setOutput('datetime', new Date().toISOString());
25
+
26
- name: Build Container
27
run: |
- docker build centos-actions-runner -t ${CONTAINER_TAG} --build-arg COMMIT_SHA=${{ github.sha }}
28
+ docker build centos-actions-runner -t ${CONTAINER_TAG} --build-arg COMMIT_SHA=${{ github.sha }} --build-arg CREATED="${{ steps.time.outputs.datetime }}"
29
30
- name: Publish
31
0 commit comments