Skip to content

aws.yaml added

aws.yaml added #2

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build and push
run: |
docker build -t fraidoonjan/end-to-end-liver:v1 .
docker push fraidoonjan/end-to-end-liver:v1