|
|
@ -27,20 +27,20 @@ jobs: |
|
|
|
run: docker build -t gameservermanagers/linuxgsm:ubuntu-24.04 -f ./Dockerfile.ubuntu-2404 . |
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
registry: ghcr.io |
|
|
|
username: ${{ github.actor }} |
|
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
- name: Build and push (Ubuntu 24.04) |
|
|
|
uses: docker/build-push-action@v5.3.0 |
|
|
|
uses: docker/build-push-action@v5.4.0 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
file: ./Dockerfile.ubuntu-2404 |
|
|
@ -71,20 +71,20 @@ jobs: |
|
|
|
run: docker build -t gameservermanagers/linuxgsm:ubuntu-22.04 -f ./Dockerfile.ubuntu-2204 . |
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
registry: ghcr.io |
|
|
|
username: ${{ github.actor }} |
|
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
- name: Build and push (Ubuntu 22.04) |
|
|
|
uses: docker/build-push-action@v5.3.0 |
|
|
|
uses: docker/build-push-action@v5.4.0 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
file: ./Dockerfile.ubuntu-2204 |
|
|
@ -111,20 +111,20 @@ jobs: |
|
|
|
run: docker build -t gameservermanagers/linuxgsm:ubuntu-20.04 -f ./Dockerfile.ubuntu-2004 . |
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry |
|
|
|
uses: docker/login-action@v3.1.0 |
|
|
|
uses: docker/login-action@v3.2.0 |
|
|
|
with: |
|
|
|
registry: ghcr.io |
|
|
|
username: ${{ github.actor }} |
|
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
- name: Build and push (Ubuntu 20.04) |
|
|
|
uses: docker/build-push-action@v5.3.0 |
|
|
|
uses: docker/build-push-action@v5.4.0 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
file: ./Dockerfile.ubuntu-2004 |
|
|
|