name: Build and release run-name: Build and release ${{ github.ref_name }} (by ${{ gitea.actor }}) on: push: tags: - "*" jobs: docker: runs-on: ubuntu-latest steps: - name: Checkout uses: https://gitea.com/actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Log in to Docker Registry uses: https://gitea.com/docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 with: registry: h3m6q87t.gra7.container-registry.ovh.net username: ${{ vars.OVH_REGISTRY_USERNAME }} password: ${{ secrets.OVH_REGISTRY_PASSWORD }} - name: Set up Docker Buildx uses: https://gitea.com/docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4 - name: Build and push backend uses: https://gitea.com/docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7 with: context: backend pull: true push: true tags: h3m6q87t.gra7.container-registry.ovh.net/prism/backend:${{ github.ref_name }} - name: Build and push frontend uses: https://gitea.com/docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7 with: context: frontend pull: true push: true tags: h3m6q87t.gra7.container-registry.ovh.net/prism/frontend:${{ github.ref_name }}