Skip to content

Commit

Permalink
GH Actions setup bugfixx
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybhargav committed Jul 11, 2020
1 parent d30ce6e commit 36e42fc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,13 @@ jobs:
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: Push to Hub
run: docker push we45/threatplaybook-server
- 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"

0 comments on commit 36e42fc

Please sign in to comment.