Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Jun 1, 2024
1 parent 4919e2f commit f0490b9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: publish

on: [push]

jobs:
publish-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/classicube/minimal-psn00b:latest
docker run ghcr.io/classicube/minimal-psn00b:latest
docker push ghcr.io/classicube/minimal-psn00b:latest

0 comments on commit f0490b9

Please sign in to comment.