Skip to content

Commit 5e37462

Browse files
authored
Merge pull request #66 from Labbs/fix-build-pipeline
Fix pipeline build
2 parents 7c782fd + 247fc30 commit 5e37462

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ permissions:
1111

1212
env:
1313
REGISTRY: ghcr.io
14-
APP_NAME: ${{ github.repository }}
14+
IMAGE: ${{ github.repository }}
15+
APP_NAME: github-actions-exporter
1516

1617
jobs:
1718
build:
@@ -53,9 +54,9 @@ jobs:
5354

5455
- name: Docker meta
5556
id: meta
56-
uses: docker/metadata-action@v3
57+
uses: docker/metadata-action@v5
5758
with:
58-
images: ${{ env.REGISTRY }}/${{ env.APP_NAME }}
59+
images: ${{ env.REGISTRY }}/${{ env.IMAGE }}
5960
tags: |
6061
type=ref,event=branch
6162
type=ref,event=pr
@@ -65,15 +66,15 @@ jobs:
6566
type=sha
6667
6768
- name: Log in to GitHub Container Registry
68-
uses: docker/login-action@v2
69+
uses: docker/login-action@v3
6970
if: github.event_name != 'pull_request'
7071
with:
7172
registry: ${{ env.REGISTRY }}
7273
username: ${{ github.actor }}
73-
password: ${{ secrets.GH_TOKEN }}
74+
password: ${{ secrets.GITHUB_TOKEN }}
7475

7576
- name: Build and push
76-
uses: docker/build-push-action@v4
77+
uses: docker/build-push-action@v5
7778
with:
7879
context: .
7980
file: ./Dockerfile

0 commit comments

Comments
 (0)