|
|
@ -13,16 +13,16 @@ jobs: |
|
|
image: ["linux-appimage", "linux-clang-format", "linux-flatpak", "linux-fresh", "linux-frozen", "linux-mingw", "linux-transifex"] |
|
|
image: ["linux-appimage", "linux-clang-format", "linux-flatpak", "linux-fresh", "linux-frozen", "linux-mingw", "linux-transifex"] |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
- uses: docker/setup-buildx-action@v1 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
- uses: docker/setup-buildx-action@v2 |
|
|
name: Setup Docker BuildX system |
|
|
name: Setup Docker BuildX system |
|
|
- name: Login to DockerHub |
|
|
- name: Login to DockerHub |
|
|
uses: docker/login-action@v1 |
|
|
|
|
|
|
|
|
uses: docker/login-action@v2 |
|
|
if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/build-environments') |
|
|
if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/build-environments') |
|
|
with: |
|
|
with: |
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
- uses: docker/build-push-action@v2 |
|
|
|
|
|
|
|
|
- uses: docker/build-push-action@v4 |
|
|
name: Build image |
|
|
name: Build image |
|
|
with: |
|
|
with: |
|
|
push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/build-environments') }} |
|
|
push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/build-environments') }} |
|
|
|