Skip to content

Commit 24be3ba

Browse files
authored
fix: Remove excess tags so none are dropped at end of build (#37)
1 parent e21e60f commit 24be3ba

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/build.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
container_tags=()
6262
# The following is run when the timer is triggered or a merge/push to main
63-
TIMESTAMP="$(date +%Y%m%d.%H%M)"
63+
TIMESTAMP="$(date +%Y%m%d)"
6464
6565
container_tags+=("${{ matrix.major_version }}-${{ matrix.driver_version }}")
6666
@@ -74,25 +74,20 @@ jobs:
7474
BRANCH="oldstable"
7575
fi
7676
77-
container_tags+=("${BRANCH}-${{ matrix.driver_version }}")
78-
7977
if [[ "${{ matrix.is_latest_driver }}" == "true" ]]; then
8078
container_tags+=("${{ matrix.major_version }}-current")
81-
container_tags+=("${BRANCH}-current")
8279
container_tags+=("${BRANCH}")
8380
container_tags+=("${{ matrix.major_version }}")
8481
fi
8582
8683
# Append matching timestamp tags to keep a version history
8784
for TAG in "${container_tags[@]}"; do
8885
container_tags+=("${TAG}-${TIMESTAMP}")
89-
container_tags+=("${TAG}-${TIMESTAMP%.*}")
9086
done
9187
9288
if [[ "${BRANCH}" == "stable" ]] && \
9389
[[ "${{ matrix.is_latest_driver }}" == "true" ]]; then
9490
container_tags+=("${TIMESTAMP}")
95-
container_tags+=("${TIMESTAMP%.*}")
9691
container_tags+=("latest")
9792
fi
9893

0 commit comments

Comments
 (0)