Skip to content

Commit

Permalink
creating release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nleach999 committed Apr 1, 2022
1 parent 85e90c8 commit 814ee10
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ jobs:
- name: Build and Push Docker Image
run: |
#docker build -f Dockerfile -t $DOCKER_REPO:v${{ inputs.tag }} artifacts/linux-x64
docker -D -l debug build -f Dockerfile -t cxanalytix:${{ inputs.tag }} artifacts/linux-x64
echo Exit code: $?
[ ${{ inputs.prerelease }} = false ] && docker tag $DOCKER_REPO:v${{ inputs.tag }} $DOCKER_REPO:latest
#docker push $DOCKER_REPO:v${{ inputs.tag }}
[ ${{ inputs.prerelease }} = false ] && docker push $DOCKER_REPO:latest
docker build -f Dockerfile -t $DOCKER_REPO:v${{ inputs.tag }} artifacts/linux-x64
[ ${{ inputs.prerelease }} = false ] && docker tag $DOCKER_REPO:v${{ inputs.tag }} $DOCKER_REPO:latest || :
docker push $DOCKER_REPO:v${{ inputs.tag }}
[ ${{ inputs.prerelease }} = false ] && docker push $DOCKER_REPO:latest || :
- name: Generate publication notes
Expand Down

0 comments on commit 814ee10

Please sign in to comment.