Skip to content

Commit f6c8ffc

Browse files
committed
build action
1 parent a3abe57 commit f6c8ffc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Docker image
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
push_to_registry:
7+
name: Push Docker image to GitHub Packages
8+
runs-on: ubuntu-latest
9+
permissions:
10+
packages: write
11+
contents: read
12+
steps:
13+
- name: Check out the repo
14+
uses: actions/checkout@v2
15+
- name: Push to GitHub Packages
16+
uses: docker/build-push-action@v1
17+
with:
18+
username: ${{ github.actor }}
19+
password: ${{ secrets.GITHUB_TOKEN }}
20+
registry: ghcr.io
21+
repository: codebje/ez80-toolchain
22+
tag_with_ref: true
23+

0 commit comments

Comments
 (0)