Skip to content

Commit

Permalink
Baby's first GitHub workflow (sorry for the spam of commits guys i'll…
Browse files Browse the repository at this point in the history
… do better in the future)
  • Loading branch information
infra committed Sep 27, 2023
1 parent bc8c47f commit 1eefe83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Publish Docker image
run: |
docker build . -t ghcr.io/1zc/cs2-pterodactyl/steamrt3-pterodactyl:latest -f docker/Dockerfile
docker push ghcr.io/1zc/cs2-pterodactyl/steamrt3-pterodactyl:latest
docker build . -t ghcr.io/1zc/steamrt3-pterodactyl:latest -f docker/Dockerfile
docker push ghcr.io/1zc/steamrt3-pterodactyl:latest
publish-docker-image-dev:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev' # Running this job only for master branch
Expand All @@ -29,5 +29,5 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Publish Docker image
run: |
docker build . -tag ghcr.io/1zc/cs2-pterodactyl/steamrt3-pterodactyl:dev -f docker/Dockerfile
docker push ghcr.io/1zc/cs2-pterodactyl/steamrt3-pterodactyl:dev
docker build . -tag ghcr.io/1zc/steamrt3-pterodactyl:dev -f docker/Dockerfile
docker push ghcr.io/1zc/steamrt3-pterodactyl:dev

0 comments on commit 1eefe83

Please sign in to comment.