feat: improve create space #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create docker images | |
on: | |
push: | |
branches: | |
- release | |
jobs: | |
build: | |
name: Build, push, and deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mr-smithers-excellent/docker-build-push@v6 | |
name: Build & push Docker image to docker.io | |
with: | |
image: penxio/penx | |
tags: latest | |
registry: docker.io | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- uses: mr-smithers-excellent/docker-build-push@v6 | |
name: Build & push Docker image to ghcr.io | |
with: | |
image: penx | |
tags: latest | |
registry: ghcr.io | |
multiPlatform: true | |
platform: linux/amd64,linux/arm64 | |
username: ${{ secrets.GHCR_USERNAME }} | |
password: ${{ secrets.GHCR_TOKEN }} |