Skip to content

Commit

Permalink
ci: Get maintainer from GitHub variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed Dec 27, 2024
1 parent 11a1eba commit be1a89a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: sharat87/httpbun
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down Expand Up @@ -56,4 +54,8 @@ jobs:
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.actor }}" --password-stdin
echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login --username "${{ vars.DOCKER_HUB_USERNAME }}" --password-stdin
docker buildx build --platform linux/amd64,linux/arm64 --push "${tags[@]}" .
docker buildx build \
--platform linux/amd64,linux/arm64 \
--push "${tags[@]}" \
--label "org.opencontainers.image.authors=${{ vars.DOCKER_IMAGE_MAINTAINER }}" \
.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM scratch

LABEL org.opencontainers.image.authors="shrikantsharat.k@gmail.com"

ARG TARGETARCH
ADD bin/httpbun-docker-$TARGETARCH /httpbun

Expand Down

0 comments on commit be1a89a

Please sign in to comment.