Check if docker compose exist in pipeline #205
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Preview | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
publish-preview: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
timeout-minutes: 40 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
docker build -t bluebrain/nexus-web:preview . | |
- name: Publish To DockerHub | |
run: | | |
echo ${{ secrets.DOCKER_PASS }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin | |
docker push bluebrain/nexus-web:preview | |