name: Arbeitszeitmessung Deploy run-name: ${{ gitea.actor }} is building and deploying arbeitszeitmesssung on: push: tags: - "*" branches: - main jobs: webserver: name: Build Webserver runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: git.letsstein.de username: ${{ gitea.actor }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 with: images: git.letsstein.de/tom/arbeitszeitmessung-webserver tags: | type=raw,value=latest type=pep440,pattern={{version}} - name: Build and push uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64 push: true context: Backend tags: ${{ steps.meta.outputs.tags }} # document-creator: # name: Build Document Creator # runs-on: ubuntu-latest # steps: # - name: Checkout # uses: actions/checkout@v4 # - name: Login to GitHub Container Registry # uses: docker/login-action@v3 # with: # registry: git.letsstein.de # username: ${{ gitea.actor }} # password: ${{ secrets.REGISTRY_TOKEN }} # - name: Set up QEMU # uses: docker/setup-qemu-action@v3 # - name: Set up Docker Buildx # uses: docker/setup-buildx-action@v3 # - name: Extract metadata (tags, labels) for Docker # id: meta # uses: docker/metadata-action@v5 # with: # images: git.letsstein.de/tom/arbeitszeitmessung-doc-creator # tags: | # type=raw,value=latest # type=pep440,pattern={{version}} # - name: Build and push # uses: docker/build-push-action@v6 # with: # platforms: linux/amd64,linux/arm64 # push: true # context: DocumentCreator # tags: ${{ steps.meta.outputs.tags }}