Skip to content

Commit

Permalink
Remove container build from binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
infamousjoeg committed Oct 5, 2020
1 parent 522c90b commit a4cb5d2
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,4 @@ jobs:
goversion: "https://dl.google.com/go/go${{ steps.go_version.outputs.prop }}.linux-amd64.tar.gz"
project_path: "./"
binary_name: "cybr"
extra_files: LICENSE README.md SECURITY.md
- name: Build Docker Container Package
run: |
docker build -t nfmsjoeg/cybr-cli:$TAG_NAME .
docker save andrewcopeland/authenticator:$TAG_NAME > ./bin/docker_authenticator.tar
env:
TAG_NAME: ${{ steps.client_version.outputs.prop }}
- name: Build and Push Docker Container to DockerHub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: nfmsjoeg/cybr-cli
tags: ${{ steps.client_version.outputs.prop }}
- name: Build and Push Docker Container to GitHub Packages
uses: docker/build-push-action@v1
with:
username: infamousjoeg
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: infamousjoeg/cybr-cli/cybr-cli
tags: ${{ steps.client_version.outputs.prop }}
env:
DOCKERHUB_USERNAME: infamousjoeg
DOCKERHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
extra_files: LICENSE README.md SECURITY.md

0 comments on commit a4cb5d2

Please sign in to comment.