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