Skip to content

Commit

Permalink
fix: build and publish in one step in action
Browse files Browse the repository at this point in the history
  • Loading branch information
neverbot committed Feb 7, 2024
1 parent f3eafdb commit bbe3aa1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login onto ghcr
- name: Build and publish image
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 bbe3aa1

Please sign in to comment.