Fix build type in Docker (#4249) #216
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: Develop Branch Dockers Deploy | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
linux_job: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0 | |
with: | |
submodules: "recursive" | |
- name: Fetch Deps | |
run: ci/actions/linux/install_deps.sh | |
- name: Login to ghcr.io | |
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a #v2.1.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy Docker (ghcr.io) | |
run: ci/actions/linux/ghcr_push.sh | |
- name: Deploy Docker (nanocurrency/nano-env) | |
run: ci/actions/linux/docker-deploy.sh | |
env: | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} |