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

Update README.md

Update README.md #2

Workflow file for this run

name: "Build"
defaults:
run:
shell: bash
env:
DOCKER_REGISTRY: hazelops
DOCKER_IMAGE_NAME: ecs-cli
on:
push:
branches:
- main
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Image
run: |
docker build -t $DOCKER_REGISTRY/$DOCKER_IMAGE_NAME:latest .
- name: Push
run: |
docker push $DOCKER_REGISTRY/$DOCKER_IMAGE_NAME:latest