Skip to content

Commit 1fa8468

Browse files
Create docker-image.yml
Automatically push docker image to GitHub Packages
1 parent 2eec371 commit 1fa8468

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Docker Image CI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
9+
build:
10+
name: Push Docker image to GitHub Packages
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build the Docker image
16+
uses: docker/build-push-action@v1
17+
with:
18+
username: ${{ github.actor }}
19+
password: ${{ secrets.GITHUB_TOKEN }}
20+
registry: docker.pkg.github.com
21+
repository: RMeissnerCC/metadata_picker/oeh-search-meta
22+
tag_with_ref: true

0 commit comments

Comments
 (0)