Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
leihuayi committed Dec 5, 2022
1 parent 784acc3 commit cbc31de
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-image-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Push Docker image to GitHub container
on:
release:
types: [edited, released]
jobs:
push_to_registry:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Container Registery
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
repository: datalab-mi/basegun-ml
tag_with_ref: true

0 comments on commit cbc31de

Please sign in to comment.