-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:faberf/feature-extraction-server
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build Docker Images | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Trigger the workflow on push events to the main branch. | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest # The type of runner that the job will run on. | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 # Checks-out your repository under $GITHUB_WORKSPACE | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/#-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} # Set in your repo's secrets | ||
password: ${{ secrets.DOCKER_PASSWORD }} # Set in your repo's secrets | ||
|
||
- name: Run build script | ||
run: | | ||
bash build_docker.sh |