Skip to content

Commit

Permalink
Update images-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hughplay authored Feb 18, 2024
1 parent b59370e commit a4779ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/images-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,25 @@ jobs:
remove-codeql: "true"

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Space After Cache
run: |
Expand All @@ -70,7 +70,7 @@ jobs:
# https://docs.docker.com/build/cache/backends/#cache-mode
- name: Build and Push Docker Image
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: dockerlab/templates/${{ matrix.template }}
push: true
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Docker Hub Description
id: dockerhub-description
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
Expand Down

0 comments on commit a4779ee

Please sign in to comment.