Skip to content

Commit cdc375d

Browse files
committed
Update build action
1 parent 48f42e4 commit cdc375d

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/dockerimage.yml

+16-14
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
14-
-
15-
name: Login to DockerHub
16-
uses: docker/login-action@v1
17-
with:
18-
username: ${{ secrets.DOCKER_USERNAME }}
19-
password: ${{ secrets.DOCKER_PASSWORD }}
20-
-
21-
name: Build and push
22-
uses: docker/build-push-action@v2
23-
with:
24-
push: true
25-
context: mtk2garmin-converter
26-
tags: teemupel/mtk2garmin-converter:latest
13+
-
14+
name: Login to Docker Hub
15+
uses: docker/login-action@v3
16+
with:
17+
username: ${{ vars.DOCKERHUB_USERNAME }}
18+
password: ${{ secrets.DOCKERHUB_TOKEN }}
19+
-
20+
name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
-
23+
name: Build and push
24+
uses: docker/build-push-action@v6
25+
with:
26+
push: true
27+
context: mtk2garmin-converter
28+
tags: teemupel/mtk2garmin-converter:latest

0 commit comments

Comments
 (0)