Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix semantic release #334

Merged
merged 1 commit into from Dec 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -14,6 +14,7 @@ jobs:

- name: Semantic Release
uses: buildlyio/semantic-release-action@v2
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -22,7 +23,6 @@ jobs:
python-version: 3.7

- name: Start OpenLDAP Server
id: ldap_server
run: |
docker run -p 389:389 -p 636:636 --name openldap_server -d osixia/openldap:1.3.0

Expand Down Expand Up @@ -85,6 +85,7 @@ jobs:
LDAP_BASE_DN: "dc=example,dc=org"

- name: Docker Build & Release
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker build --tag ${BUILDLY_IMAGE} .
Expand Down