Skip to content

Commit

Permalink
Merge pull request #1 from NeuraLegion/feat/github-action
Browse files Browse the repository at this point in the history
feat: add github action to deploy image
  • Loading branch information
alonchin authored Jun 13, 2024
2 parents f0d2c85 + 4bae729 commit af4ee8c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and push images to GitHub Container Registry

on: workflow_dispatch

jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: USERNAME
password: ${{ secrets.PACKAGES_TOKEN }}

- name: Build wivet image
run: docker build --tag ghcr.io/neuralegion/wivet:latest .

- name: Push wivet image
run: docker push ghcr.io/neuralegion/wivet:latest

0 comments on commit af4ee8c

Please sign in to comment.