Skip to content

Commit

Permalink
added new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
broizter committed Mar 4, 2024
1 parent c542131 commit fe8b1a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Docker Image CI for GHCR

on:
push

jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and push the image
run: |
docker login --username broizter --password {{ secrets.GH_PAT }} ghcr.io
docker build . --tag ghcr.io/broizter/ssh-server-on-docker-with-docker:latest
docker push ghcr.io/broizter/ssh-server-on-docker-with-docker:latest

0 comments on commit fe8b1a8

Please sign in to comment.