diff --git a/.github/workflows/build-push.yaml b/.github/workflows/build-push-contactform.yaml similarity index 92% rename from .github/workflows/build-push.yaml rename to .github/workflows/build-push-contactform.yaml index 917195a..39cfa43 100644 --- a/.github/workflows/build-push.yaml +++ b/.github/workflows/build-push-contactform.yaml @@ -1,15 +1,15 @@ -name: Build and Push Docker Image +name: Build and Push Contactform on: push: branches: - main paths: - - Dockerfile + - Dockerfile.contactform - poetry.lock - pyproject.toml - contactform/**/* - - .github/workflows/build-push.yaml + - .github/workflows/build-push-contactform.yaml env: REGISTRY: ghcr.io @@ -60,6 +60,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + file: Dockerfile.contactform platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/Dockerfile b/Dockerfile.contactform similarity index 100% rename from Dockerfile rename to Dockerfile.contactform diff --git a/deployment/apps/contactform/deployment.yaml b/deployment/apps/contactform/deployment.yaml index 4f83f54..7bfd584 100644 --- a/deployment/apps/contactform/deployment.yaml +++ b/deployment/apps/contactform/deployment.yaml @@ -17,7 +17,7 @@ spec: serviceAccountName: default containers: - name: contactform - image: ghcr.io/vshn/conferenceli:main + image: ghcr.io/vshn/conferenceli-contactform:main imagePullPolicy: Always ports: - name: http