test6 #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: docker login | |
env: | |
SDOCKERUSER: ${{secrets.DOCKER_USERNAME}} | |
SDOCKERPASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
run: | |
docker login -u $SDOCKERUSER -p $SDOCKERPASSWORD | |
- name: Build the Docker image | |
run: docker build --progress plain -t hazemjaki/chipyard . | |
- name: Docker Push | |
run: docker push hazemjaki/chipyard |