Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit b1dbeb5

Browse files
committed
Migrate to reusable workflow
1 parent 8428343 commit b1dbeb5

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
packages: write
11+
attestations: write
12+
id-token: write
13+
814
jobs:
915
build:
10-
name: Build Docker Image
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
- name: Push to GitHub Packages
15-
uses: docker/build-push-action@v1
16-
with:
17-
username: ${{ github.actor }}
18-
password: ${{ secrets.GITHUB_TOKEN }}
19-
registry: ghcr.io
20-
repository: nint8835/embassy
21-
tags: latest
16+
uses: nint8835/workflows/.github/workflows/docker-build.yaml@main
17+
with:
18+
image_name: nint8835/embassy

0 commit comments

Comments
 (0)