Skip to content

Commit a27fdad

Browse files
committed
Fix refs/tags/ removal in build-docker-artifacts
1 parent bffe155 commit a27fdad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
const config = require('./deploy/build/config.json');
7676
7777
const buildTime = new Date().toISOString().replace(/:/g, '').replace(/\..+/, 'Z');
78-
const imageTagBranchName = "${{ github.ref }}".replace('refs/heads/', '').replace(/[^a-zA-Z0-9._-]/g, '-');
78+
const imageTagBranchName = "${{ github.ref }}".replace('refs/heads/', '').replace('refs/tags/', '').replace(/[^a-zA-Z0-9._-]/g, '-');
7979
const imageTag = `tagged-${imageTagBranchName}-${buildTime}`;
8080
8181
const flavors = config.flavors.filter(flavor => flavor.skip !== true).map(flavor => {

0 commit comments

Comments
 (0)