Skip to content

Commit e897b3b

Browse files
fix(ci): resolve invalid Docker tag format in agent build workflow
1 parent 97ec864 commit e897b3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-agent.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@ jobs:
7575
armv6) platform="linux/arm/v6" ;;
7676
i386) platform="linux/386" ;;
7777
esac
78-
78+
7979
# Build single architecture image for export
8080
docker buildx build \
8181
--platform $platform \
8282
--file agent/Dockerfile \
83-
--tag shellhubio/agent:${{ env.IMAGE_TAG }}-$arch \
83+
--tag shellhubio/agent:${{ env.RELEASE_VERSION }}-$arch \
8484
${{ env.BUILD_ARGS }} \
8585
--load \
8686
--provenance=false \
8787
.
88-
88+
8989
# Export rootfs
90-
docker export $(docker create shellhubio/agent:${{ env.IMAGE_TAG }}-$arch) | gzip > rootfs/rootfs-$arch.tar.gz
90+
docker export $(docker create shellhubio/agent:${{ env.RELEASE_VERSION }}-$arch) | gzip > rootfs/rootfs-$arch.tar.gz
9191
done
9292
9393
- name: Upload rootfs artifacts

0 commit comments

Comments
 (0)