Skip to content

Commit 487755e

Browse files
authored
Merge pull request #48 from datastax/auto-docker-push
updated version trigger to remove v prefix
2 parents 0338a9e + f5ee501 commit 487755e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
- 'Dockerfile'
1212
- 'LICENSE.md'
1313
tags:
14-
- 'v*.*.*'
15-
- 'v*.*.*-*'
14+
- '*.*.*'
15+
- '*.*.*-*'
1616

1717
jobs:
1818
build_and_publish:
@@ -36,15 +36,15 @@ jobs:
3636
type=semver,pattern={{major}}.{{minor}}.x
3737
type=semver,pattern={{major}}.x
3838
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
39+
uses: docker/setup-buildx-action@v2
4040
- name: Login to DockerHub
41-
uses: docker/login-action@v1
41+
uses: docker/login-action@v2
4242
with:
4343
username: ${{ secrets.DOCKER_HUB_USERNAME }}
4444
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
4545
- name: Build and push
4646
id: docker_build
47-
uses: docker/build-push-action@v2
47+
uses: docker/build-push-action@v3
4848
with:
4949
file: Dockerfile
5050
context: .

.github/workflows/docker-push-sha-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
tags: |
2323
type=sha
2424
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v1
25+
uses: docker/setup-buildx-action@v2
2626
- name: Login to DockerHub
27-
uses: docker/login-action@v1
27+
uses: docker/login-action@v2
2828
with:
2929
username: ${{ secrets.DOCKER_HUB_USERNAME }}
3030
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
3131
- name: Build and push
3232
id: docker_build
33-
uses: docker/build-push-action@v2
33+
uses: docker/build-push-action@v3
3434
with:
3535
file: Dockerfile
3636
context: .

0 commit comments

Comments
 (0)