Skip to content

Commit a90c85d

Browse files
committed
stick to tags instead of hash for github action tasks
1 parent fc25f68 commit a90c85d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-push-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
uses: actions/checkout@v3
1919

2020
- name: Log in to Docker Hub
21-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
21+
uses: docker/login-action@v2
2222
with:
2323
username: ${{ secrets.DOCKER_USERNAME }}
2424
password: ${{ secrets.DOCKER_PASSWORD }}
2525

2626
- name: Extract metadata (tags, labels) for Docker
2727
id: meta
28-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
28+
uses: docker/metadata-action@v4
2929
with:
3030
images: unicdocker/drupal-php
3131

3232
- name: Build and push Docker image
33-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
33+
uses: docker/build-push-action@v4
3434
with:
3535
context: .
3636
push: true

0 commit comments

Comments
 (0)