Update CI build actions
This commit is contained in:
parent
2bbb3079b4
commit
a3ef220b2b
1 changed files with 5 additions and 5 deletions
10
.github/workflows/github_action_test_suite.yml
vendored
10
.github/workflows/github_action_test_suite.yml
vendored
|
|
@ -166,15 +166,15 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
-
|
-
|
||||||
name: Login to DockerHub
|
name: Login to DockerHub
|
||||||
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
@ -182,7 +182,7 @@ jobs:
|
||||||
name: Build and push for master
|
name: Build and push for master
|
||||||
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.9' && github.ref == 'refs/heads/master'
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.9' && github.ref == 'refs/heads/master'
|
||||||
id: docker_build_master
|
id: docker_build_master
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: evennia/evennia:latest
|
tags: evennia/evennia:latest
|
||||||
|
|
@ -190,7 +190,7 @@ jobs:
|
||||||
name: Build and push for develop
|
name: Build and push for develop
|
||||||
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && github.ref == 'refs/heads/develop'
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && github.ref == 'refs/heads/develop'
|
||||||
id: docker_build_develop
|
id: docker_build_develop
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: evennia/evennia:develop
|
tags: evennia/evennia:develop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue