@@ -14,41 +14,41 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout the repo
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
# Create a build container which buildx will use as a driver when building the container.
19
19
# See https://github.com/docker/buildx/blob/master/docs/reference/buildx_create.md#driver
20
20
- name : Set up Docker Buildx
21
- uses : docker/setup-buildx-action@v2
21
+ uses : docker/setup-buildx-action@v3
22
22
with :
23
23
# Enables host networking which allows tests run by buildx to access
24
24
# the containers started by docker compose on localhost
25
25
driver-opts : network=host
26
26
# Login to the registry
27
27
- name : Login to GitHub Container Registry
28
- uses : docker/login-action@v2
28
+ uses : docker/login-action@v3
29
29
with :
30
30
registry : ghcr.io
31
31
username : ${{ github.actor }}
32
32
password : ${{ secrets.PKG_WRITER_PAT }}
33
33
# This creates a cache for the current PR, if none exists then
34
34
# the cache from the most recent PR will be used.
35
35
- name : Setup Docker layer Cache
36
- uses : actions/cache@v3
36
+ uses : actions/cache@v4
37
37
with :
38
38
path : /tmp/.buildx-cache
39
39
key : ${{ runner.os }}-docker-${{ github.event.number }}
40
40
restore-keys : ${{ runner.os }}-docker-
41
41
# Automagically extract useful information from the current github context and creates
42
42
# a set of labels for use by build-push-action to be attached to the final image.
43
43
- name : Extract Metadata for Docker
44
- uses : docker/metadata-action@v4
44
+ uses : docker/metadata-action@v5
45
45
with :
46
46
images : ${{ github.repository }}
47
47
id : meta
48
48
# This action runs Buildx, which allows for a more complex Dockerfile.
49
49
# We use a buildx Dockerfile to run tests as well as build the final image.
50
50
- name : Build and push
51
- uses : docker/build-push-action@v2
51
+ uses : docker/build-push-action@v5
52
52
with :
53
53
# We change the path context here since the github context does not include
54
54
# changes to local files, like when we download `Dockerfile`.
0 commit comments