Skip to content

Commit 9db744a

Browse files
authored
Update autoware_prebuilt.yml
1 parent 433a40a commit 9db744a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/autoware_prebuilt.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
env:
1212
REGISTRY: ghcr.io
1313
IMAGE_NAME: bounverif/autoware-prebuilt
14-
VERSION: latest
1514

1615
jobs:
1716
build-and-push-image:
@@ -21,6 +20,9 @@ jobs:
2120
packages: write
2221

2322
steps:
23+
- name: Set release version
24+
run: |
25+
echo "AUTOWARE_VERSION=$(date +%+4Y%m%d)" >> ${GITHUB_ENV}
2426
- name: Checkout repository
2527
uses: actions/checkout@v3
2628
- name: Set up Docker Buildx
@@ -36,8 +38,6 @@ jobs:
3638
with:
3739
context: containers/autoware-prebuilt
3840
build-args: |
39-
--no-cache
40-
VERSION=${{ env.VERSION }}
41-
42-
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
41+
AUTOWARE_VERSION=${{ env.AUTOWARE_VERSION }}
42+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
4343
push: true

0 commit comments

Comments
 (0)