Browse Source

major version only

main
Daniel Gibbs 2 months ago
parent
commit
1e9c1812eb
  1. 28
      .github/workflows/docker-publish.yml

28
.github/workflows/docker-publish.yml

@ -20,26 +20,26 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v3
- name: Build
run: docker build -t gameservermanagers/steamcmd:ubuntu-24.04 -f ./Dockerfile.ubuntu-2404 .
- name: Login to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (Ubuntu 24.04)
uses: docker/build-push-action@v6.13.0
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ubuntu-2404
@ -64,26 +64,26 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v3
- name: Build
run: docker build -t gameservermanagers/steamcmd:ubuntu-22.04 -f ./Dockerfile.ubuntu-2204 .
- name: Login to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (Ubuntu 22.04)
uses: docker/build-push-action@v6.13.0
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ubuntu-2204
@ -104,7 +104,7 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v3
- name: Build
run: docker build -t gameservermanagers/steamcmd:ubuntu-20.04 -f ./Dockerfile.ubuntu-2004 .
@ -116,14 +116,14 @@ jobs:
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (Ubuntu 20.04)
uses: docker/build-push-action@v6.13.0
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ubuntu-2004
@ -144,7 +144,7 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v3
- name: Build
run: docker build -t gameservermanagers/steamcmd:ubuntu-18.04 -f ./Dockerfile.ubuntu-1804 .
@ -156,14 +156,14 @@ jobs:
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (Ubuntu 18.04)
uses: docker/build-push-action@v6.13.0
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ubuntu-1804

Loading…
Cancel
Save