Skip to content

Commit

Permalink
add DATE_TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Jul 5, 2024
1 parent 0730be7 commit 3d7ac8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ concurrency:
cancel-in-progress: true

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -72,6 +73,8 @@ jobs:
with:
submodules: true
fetch-depth: 0
- name: Get date tag
run: echo "DATE_TAG=$(date -uI)" >> "$GITHUB_ENV"
- uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -100,7 +103,7 @@ jobs:
with:
image: ${{ env.CI_IMG }}
archs: amd64
tags: ${{ env.agent-version }}
tags: ${{ env.agent-version }} ${{env.DATE_TAG}}
containerfiles: |
./quarkus-agent/src/main/docker/Dockerfile.jvm
- name: Push to quay.io
Expand Down

0 comments on commit 3d7ac8f

Please sign in to comment.