File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
- name : Build the Docker image
18
- run : docker build . --file Dockerfile --tag my-image-name :$(date +%s)
18
+ run : docker build . --file Dockerfile --tag go-mcp-postgres :$(date +%s)
19
19
-
20
20
name : Login to DockerHub
21
- uses : docker/login-action@v1
21
+ uses : docker/login-action@v3
22
22
with :
23
23
username : ${{ secrets.DOCKERHUB_USERNAME }}
24
24
password : ${{ secrets.DOCKERHUB_TOKEN }}
25
25
-
26
26
name : Build and push
27
27
id : docker_build
28
- uses : docker/build-push-action@v2
28
+ uses : docker/build-push-action@v6
29
29
with :
30
30
push : true
31
- tags : ${{ secrets.DOCKERHUB_USERNAME }}/go-mcp-postgres:latest
31
+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/go-mcp-postgres:$(date +%s)
You can’t perform that action at this time.
0 commit comments