Skip to content

Commit a027908

Browse files
authored
Update docker-image.yml
1 parent 63b3733 commit a027908

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- 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)
1919
-
2020
name: Login to DockerHub
21-
uses: docker/login-action@v1
21+
uses: docker/login-action@v3
2222
with:
2323
username: ${{ secrets.DOCKERHUB_USERNAME }}
2424
password: ${{ secrets.DOCKERHUB_TOKEN }}
2525
-
2626
name: Build and push
2727
id: docker_build
28-
uses: docker/build-push-action@v2
28+
uses: docker/build-push-action@v6
2929
with:
3030
push: true
31-
tags: ${{ secrets.DOCKERHUB_USERNAME }}/go-mcp-postgres:latest
31+
tags: ${{ secrets.DOCKERHUB_USERNAME }}/go-mcp-postgres:$(date +%s)

0 commit comments

Comments
 (0)