Skip to content

Commit

Permalink
and again
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Mar 30, 2024
1 parent 5738c84 commit bccff8c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: publish
on: [push]
on: [push]
jobs:
publish-hello-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PUBLISH_TOKEN }}
- name: Build the hello-docker Docker image
run: |
docker build . --tag ghcr.io/ClassiCube/minimal-psl1ght:latest
docker run ghcr.io/ClassiCube/minimal-psl1ght:latest
docker push ghcr.io/ClassiCube/minimal-psl1ght:latest
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 hello-docker Docker image
run: |
docker build . --tag ghcr.io/ClassiCube/minimal-psl1ght:latest
docker run ghcr.io/ClassiCube/minimal-psl1ght:latest
docker push ghcr.io/ClassiCube/minimal-psl1ght:latest

0 comments on commit bccff8c

Please sign in to comment.