Skip to content

Commit cf3fa7e

Browse files
authored
Update Build&Push.yml
1 parent b13f991 commit cf3fa7e

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

.github/workflows/Build&Push.yml

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,22 @@ jobs:
1010
docker:
1111
runs-on: ubuntu-latest
1212
steps:
13-
-
14-
name: Checkout
15-
uses: actions/checkout@v3
16-
-
17-
name: Set up QEMU
18-
uses: docker/setup-qemu-action@v2
19-
-
20-
name: Set up Docker Buildx
21-
uses: docker/setup-buildx-action@v2
22-
-
23-
name: Login to Docker Hub
24-
uses: docker/login-action@v2
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Set up Docker Buildx
16+
id: buildx
17+
uses: docker/setup-buildx-action@v3
18+
- name: Login to GHCR
19+
uses: docker/login-action@v3
2520
with:
26-
username: ${{ secrets.DOCKERHUB_USERNAME }}
27-
password: ${{ secrets.DOCKERHUB_TOKEN }}
28-
-
29-
name: Build and push
30-
uses: docker/build-push-action@v3
21+
registry: ghcr.io
22+
username: MSKNET
23+
password: ${{ secrets.GITHUB_TOKEN }}
24+
- name: Build docker image
25+
uses: docker/build-push-action@v6
3126
with:
32-
context: .
3327
push: true
34-
tags: s045pd/cursed_chrome:latest
28+
platforms: linux/amd64
29+
tags: ghcr.io/msknet/cursedchrome:latest
30+
cache-from: type=gha
31+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)