Skip to content

fixes for k8s

fixes for k8s #3

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches:
- main # Set to the branch name you want to trigger the build
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and Push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile # Path to your Dockerfile
push: true
tags: ggpwnkthx/microsoft-graph-smtp-relay # Replace with your Docker Hub username, repository, and tag
- name: Sync README to Docker Hub
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ggpwnkthx/microsoft-graph-smtp-relay
readme-filepath: ./README.md