Skip to content

Commit 33deeb8

Browse files
Update tag workflow
1 parent c8f7b0e commit 33deeb8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/tag.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
- uses: actions/checkout@v3
1919
with:
2020
ref: "${{ github.ref_name }}"
21-
21+
2222
- name: Login to GitHub Container Registry
23-
uses: docker/login-action@v1
23+
uses: docker/login-action@v2
2424
with:
2525
registry: ghcr.io
2626
username: ${{ github.actor }}
27-
password: ${{ secrets.GITHUB_TOKEN }}
28-
27+
password: ${{ secrets.GITHUB_TOKEN }}
28+
2929
- name: Extract metadata (tags, labels) for Docker
3030
id: meta
3131
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
@@ -35,8 +35,7 @@ jobs:
3535
- name: Build and push Docker image
3636
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
3737
with:
38-
context: backend
38+
context: .
3939
push: true
4040
tags: ${{ steps.meta.outputs.tags }}
4141
labels: ${{ steps.meta.outputs.labels }}
42-

0 commit comments

Comments
 (0)