1 changed files with 7 additions and 6 deletions
@ -1,6 +1,7 @@ |
|||||
name: Docker Publish |
name: Docker Publish |
||||
|
|
||||
on: |
on: |
||||
|
workflow_dispatch: |
||||
push: |
push: |
||||
branches: ["main", "master"] |
branches: ["main", "master"] |
||||
paths: |
paths: |
||||
@ -19,9 +20,9 @@ jobs: |
|||||
- name: Set up Docker Buildx |
- name: Set up Docker Buildx |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
- name: Build |
- name: Build |
||||
run: docker build -t gameservermanagers/steamcmd:ubuntu-22.04 . |
run: docker build -t gameservermanagers/steamcmd:ubuntu-22.04 -f ./Dockerfile.ubuntu-2204 . |
||||
- name: Test |
- name: Test |
||||
run: docker run --rm gameservermanagers/steamcmd:ubuntu-22.04 |
run: docker run --rm gameservermanagers/steamcmd:ubuntu-22.04 steamcmd +quit |
||||
- name: Login to DockerHub |
- name: Login to DockerHub |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
with: |
with: |
||||
@ -58,9 +59,9 @@ jobs: |
|||||
- name: Set up Docker Buildx |
- name: Set up Docker Buildx |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
- name: Build |
- name: Build |
||||
run: docker build -t gameservermanagers/steamcmd:ubuntu-20.04 . |
run: docker build -t gameservermanagers/steamcmd:ubuntu-20.04 -f ./Dockerfile.ubuntu-2004 . |
||||
- name: Test |
- name: Test |
||||
run: docker run --rm gameservermanagers/steamcmd:ubuntu-20.04 |
run: docker run --rm gameservermanagers/steamcmd:ubuntu-20.04 steamcmd +quit |
||||
- name: Login to DockerHub |
- name: Login to DockerHub |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
with: |
with: |
||||
@ -93,9 +94,9 @@ jobs: |
|||||
- name: Set up Docker Buildx |
- name: Set up Docker Buildx |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
- name: Build |
- name: Build |
||||
run: docker build -t gameservermanagers/steamcmd:ubuntu-18.04 . |
run: docker build -t gameservermanagers/steamcmd:ubuntu-18.04 -f ./Dockerfile.ubuntu-1804 . |
||||
- name: Test |
- name: Test |
||||
run: docker run --rm gameservermanagers/steamcmd:ubuntu-18.04 |
run: docker run --rm gameservermanagers/steamcmd:ubuntu-18.04 steamcmd +quit |
||||
- name: Login to DockerHub |
- name: Login to DockerHub |
||||
uses: docker/[email protected] |
uses: docker/[email protected] |
||||
with: |
with: |
||||
|
Loading…
Reference in new issue