Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Merge pull request #44 from 7SOATSquad30/docs/arch-image #6

Merge pull request #44 from 7SOATSquad30/docs/arch-image

Merge pull request #44 from 7SOATSquad30/docs/arch-image #6

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/fast-food:latest
# TODO: deploy to k8s