Skip to content

Initial commit after excluding Google Drive files #8

Initial commit after excluding Google Drive files

Initial commit after excluding Google Drive files #8

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to DockerHub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build Docker image
run: docker build -t ${{ secrets.DOCKER_USERNAME }}/phish-api:latest .
- name: Push Docker image
run: docker push ${{ secrets.DOCKER_USERNAME }}/phish-api:latest
- name: Trigger Render Deploy Hook
run: |
curl -X POST ${{ secrets.RENDER_DEPLOY_HOOK }}