name: Build App on: push jobs: Build-App: runs-on: actionkit steps: - name: Clone uses: actions/checkout@v3 - name: Log in to Registry uses: https://github.com/docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a with: registry: dev.shielddagger.com username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Extract metadata (tags, labels) for Docker id: meta uses: https://github.com/docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: images: dev.shielddagger.com/${{ gitea.repository }} tags: | type=sha type=raw,value=latest,enable={{is_default_branch}} type=semver,pattern={{version}} - name: Build and push Docker image uses: https://github.com/docker/build-push-action@master with: context: . file: ./Containerfile push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}