Skip to content

Commit

Permalink
move over to github
Browse files Browse the repository at this point in the history
  • Loading branch information
phyzical committed Nov 1, 2024
1 parent 6557c53 commit d568438
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/buildAndPublish.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
name: 'Build and Publish'
name: build and publish
on:
push:
branches:
- build
branches: [build]
permissions:
contents: read
packages: write
jobs:
renovate:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
push: true
tags: phyzical/cs2-modded-server
tags: ghcr.io/${{ github.repository }}:latest
platforms: linux/amd64

0 comments on commit d568438

Please sign in to comment.