Skip to content

Update main.yml

Update main.yml #6

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
env:
SDOCKER_USER: ${{secrets.DOCKER_USERNAME}}
SDOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run:
docker login -u SDOCKER_USER -p SDOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --progress plain --tag hazemjaki/chipyard:S{{ github.sha }}
- name: Docker Push
run: docker push hazemjaki/chipyard:S{{ github.sha }}