Skip to content

Commit

Permalink
fix: Fix semantic release (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefmoura committed Dec 2, 2020
1 parent 9372052 commit 2604e93
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 2604e93

Please sign in to comment.