Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 52e616a

Browse files
committed
fix: github actions
1 parent f423bde commit 52e616a

File tree

5 files changed

+42
-114
lines changed

5 files changed

+42
-114
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/build-and-push-latest.yml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,29 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
11+
permissions:
12+
contents: read
13+
packages: write
1214
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
17+
- uses: docker/setup-qemu-action@v3
1518

16-
- name: Set up QEMU
17-
uses: docker/setup-qemu-action@v1
19+
- uses: docker/setup-buildx-action@v3
20+
21+
- uses: docker/login-action@v3
22+
with:
23+
registry: ghcr.io
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
1826

19-
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@v1
27+
- uses: docker/login-action@v3
28+
with:
29+
username: vafanassieff
30+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2131

22-
- name: Docker meta
32+
- uses: docker/metadata-action@v3
2333
id: meta
24-
uses: docker/metadata-action@v3
2534
with:
2635
images: |
2736
ghcr.io/ln-markets/umbrel
@@ -30,21 +39,7 @@ jobs:
3039
type=ref,event=branch
3140
type=sha
3241
33-
- name: Login to GitHub Container Registry
34-
uses: docker/login-action@v1
35-
with:
36-
registry: ghcr.io
37-
username: vafanassieff
38-
password: ${{ secrets.CR_PAT }}
39-
40-
- name: Login to DockerHub
41-
uses: docker/login-action@v1
42-
with:
43-
username: ${{ secrets.DOCKERHUB_USERNAME }}
44-
password: ${{ secrets.DOCKERHUB_TOKEN }}
45-
46-
- name: Build and push
47-
uses: docker/build-push-action@v2
42+
- uses: docker/build-push-action@v2
4843
with:
4944
context: .
5045
platforms: linux/amd64,linux/arm64

.github/workflows/build-and-push.yml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,29 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13-
13+
permissions:
14+
contents: read
15+
packages: write
1416
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
18+
19+
- uses: docker/setup-qemu-action@v3
1720

18-
- name: Set up QEMU
19-
uses: docker/setup-qemu-action@v1
21+
- uses: docker/setup-buildx-action@v3
22+
23+
- uses: docker/login-action@v3
24+
with:
25+
registry: ghcr.io
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
2028

21-
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v1
29+
- uses: docker/login-action@v3
30+
with:
31+
username: vafanassieff
32+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2333

24-
- name: Docker meta
34+
- uses: docker/metadata-action@v3
2535
id: meta
26-
uses: docker/metadata-action@v3
2736
with:
2837
images: |
2938
ghcr.io/ln-markets/umbrel
@@ -36,21 +45,7 @@ jobs:
3645
type=semver,pattern=v{{major}}
3746
type=sha
3847
39-
- name: Login to GitHub Container Registry
40-
uses: docker/login-action@v1
41-
with:
42-
registry: ghcr.io
43-
username: vafanassieff
44-
password: ${{ secrets.CR_PAT }}
45-
46-
- name: Login to DockerHub
47-
uses: docker/login-action@v1
48-
with:
49-
username: ${{ secrets.DOCKERHUB_USERNAME }}
50-
password: ${{ secrets.DOCKERHUB_TOKEN }}
51-
52-
- name: Build and push
53-
uses: docker/build-push-action@v2
48+
- uses: docker/build-push-action@v2
5449
with:
5550
context: .
5651
platforms: linux/amd64,linux/arm64

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
2019

21-
- name: Set up QEMU
22-
uses: docker/setup-qemu-action@v1
20+
- uses: docker/setup-qemu-action@v3
2321

24-
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v1
22+
- uses: docker/setup-buildx-action@v3
2623

27-
- name: Build image
28-
uses: docker/build-push-action@v2
24+
- uses: docker/build-push-action@v2
2925
with:
3026
context: .
3127
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)