Minor changes to docker compose and docs #118
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build API Docker Container | |
run: cd $GITHUB_WORKSPACE/api/ && docker build . --file $GITHUB_WORKSPACE/api/Dockerfile --tag we45/threatplaybook-server | |
- name: Test Secret | |
run: echo $DOCKER_LOGIN_USER | |
- name: Build and Push | |
uses: zemuldo/docker-build-push@master | |
env: | |
DOCKER_USERNAME: "we45" | |
DOCKER_NAMESPACE: "we45" | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_LOGIN_PASS }} | |
REGISTRY_URL: "docker.io" | |
with: | |
image_name: "threatplaybook-server" | |
image_tag: "latest" |