Skip to content

Commit

Permalink
fix: build and publish in three steps in action
Browse files Browse the repository at this point in the history
  • Loading branch information
neverbot committed Feb 7, 2024
1 parent bbe3aa1 commit 6aae6b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and publish image
- name: Login onto ghcr
run: |
docker login --username maldorne-bot --password ${{ secrets.MALDORNE_BOT_GHCR_TOKEN }} ghcr.io
- name: Build image
run: |
docker build --no-cache . -t ghcr.io/maldorne/mudos:v21.7
- name: Publish image
run: |
docker push ghcr.io/maldorne/mudos:v21.7

0 comments on commit 6aae6b2

Please sign in to comment.