Build base container #172
Workflow file for this run
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: Build base container | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- build_base* | |
jobs: | |
build: | |
runs-on: self-hosted | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMMANDS: true | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
steps: | |
- name: Fail, if older Github Actions machine | |
run: cat /proc/cpuinfo | grep avx512 | |
- name: Login to docker | |
run: docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD} | |
- uses: actions/checkout@v2 | |
- name: submodule update | |
run: git submodule update --init --recursive | |
- name: Build the Docker image | |
run: docker build . --file DockerfileBase --tag skalenetwork/sgxwallet_base:latest && docker push skalenetwork/sgxwallet_base:latest |