Skip to content

Commit 94b6451

Browse files
committed
fix: github action de cache corrigée
1 parent 171a85a commit 94b6451

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
7+
88
env:
99
REGISTRY: ghcr.io
1010
IMAGE_NAME: ${{ github.repository }}
@@ -13,14 +13,14 @@ permissions:
1313
contents: read
1414
pages: write
1515
id-token: write
16-
16+
1717
concurrency:
18-
group: "pages"
18+
group: 'pages'
1919
cancel-in-progress: false
20-
20+
2121
jobs:
2222
build-and-push-image:
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-latest
2424
permissions:
2525
contents: read # required for publishing Docker images
2626
packages: write # required for pushing Docker images
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Docker Buildx
3434
uses: docker/setup-buildx-action@v1
3535
- name: Cache Docker layers
36-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3737
with:
3838
path: /tmp/.buildx-cache
3939
key: ${{ runner.os }}-buildx-${{ github.sha }}
@@ -42,10 +42,10 @@ jobs:
4242
- name: Log in to the Container Registry
4343
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
4444
with:
45-
registry: ${{ env.REGISTRY }}
46-
username: ${{ github.actor }}
47-
password: ${{ secrets.GITHUB_TOKEN }}
48-
45+
registry: ${{ env.REGISTRY }}
46+
username: ${{ github.actor }}
47+
password: ${{ secrets.GITHUB_TOKEN }}
48+
4949
- name: Extract metadata (tags, labels) for Docker
5050
id: meta
5151
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7

0 commit comments

Comments
 (0)