File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 8787 cache-from : type=gha
8888 cache-to : type=gha,mode=max
8989
90- - name : Make package public
91- if : github.event_name != 'pull_request'
92- run : |
93- # Wait a moment for the package to be fully created
94- sleep 10
95-
96- # Get package info and make it public
97- PACKAGE_NAME=$(echo "${{ env.IMAGE_NAME_LOWER }}" | cut -d'/' -f2)
98-
99- curl -X PATCH \
100- -H "Accept: application/vnd.github+json" \
101- -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \
102- -H "X-GitHub-Api-Version: 2022-11-28" \
103- https://api.github.com/user/packages/container/${PACKAGE_NAME} \
104- -d '{"visibility":"public"}' || echo "Package may already be public or error occurred"
90+
10591
10692 - name : Create release archives
10793 if : github.event_name == 'release'
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o tsflow .
1212
1313FROM alpine:latest
1414
15+ # Add OCI labels for proper GitHub repository linking
16+ LABEL org.opencontainers.image.source=https://github.com/rajsinghtech/tsflow
17+ LABEL org.opencontainers.image.description="Network flow viewer for Tailscale networks"
18+ LABEL org.opencontainers.image.licenses=MIT
19+
1520RUN apk --no-cache add ca-certificates
1621RUN adduser -D -s /bin/sh tsflow
1722
You can’t perform that action at this time.
0 commit comments