Skip to content

Commit 49a5f89

Browse files
committed
CD[Docker]: lint Dockerfile and adjust workflow
1 parent 81d5e82 commit 49a5f89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
if: github.event_name != 'pull_request'
6161
uses: docker/login-action@v3
6262
with:
63-
username: ${{ secrets.DOCKERHUB_USERNAME }}
63+
username: ${{ github.repository_owner }}
6464
password: ${{ secrets.DOCKERHUB_TOKEN }}
6565

6666
- name: Login to GHCR

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23 as build
1+
FROM golang:1.23 AS build
22
WORKDIR /go/src/app
33

44
COPY go.* .

0 commit comments

Comments
 (0)