Skip to content

Merge pull request #4757 from pwojcikdev/activate-cemented-blocks #592

Merge pull request #4757 from pwojcikdev/activate-cemented-blocks

Merge pull request #4757 from pwojcikdev/activate-cemented-blocks #592

name: Develop Branch Dockers Deploy
on:
push:
branches:
- develop
jobs:
linux_job:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Fetch Deps
run: ci/actions/linux/install_deps.sh
- name: Deploy Docker (ghcr.io)
run: ci/actions/linux/ghcr-deploy-env.sh
env:
DOCKER_REGISTRY: ghcr.io
DOCKER_USER: ${{ github.repository_owner }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
- name: Check if secrets.DOCKER_PASSWORD exists
run: echo "DOCKER_PASSWORD_EXISTS=${{ secrets.DOCKER_PASSWORD != '' }}" >> $GITHUB_ENV
- name: Deploy Docker (nanocurrency/nano-env)
if: env.DOCKER_PASSWORD_EXISTS == 'true'
run: ci/actions/linux/docker-deploy-env.sh
env:
DOCKER_HUB: ${{ secrets.DOCKER_HUB }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}