Skip to content

Commit

Permalink
update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxikle committed Jun 18, 2024
1 parent 6188a9a commit dfe115d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ jobs:
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}

- name: Build Docker Image
run: |
docker build -t cytosis -f docker/basic/Dockerfile .
run: docker build -t cytosis -f docker/basic/Dockerfile .

- name: Tag Docker Image
run: docker tag cytosis ghcr.io/cytonicmc/cytosis:latest

- name: Login to GHCR
run: echo $GHCR_TOKEN | docker login ghcr.io -u CytonicMC --password-stdin

- name: Push Docker Image
run: |
docker login ghcr.io -u CytonicMC -p $GHCR_TOKEN
docker push ghcr.io/CytonicMC/cytosis:latest
run: docker push ghcr.io/cytonicmc/cytosis:latest

0 comments on commit dfe115d

Please sign in to comment.