Skip to content

m: add back init command #12

m: add back init command

m: add back init command #12

Workflow file for this run

name: ci_master
on:
push:
branches:
- master
permissions:
contents: read # Required by actions/checkout
packages: write # Required to pull/push docker image from/to registry
env:
DOCKER_ENV_REGISTRY: ${{ vars.DOCKER_ENV_REGISTRY }}
jobs:
cache_dev_image:
runs-on: ubuntu-latest
env:
DOCKER_ENV_PUSH_TAG: ${{ github.sha }}
steps:
- name: Set up multiarch docker builder
uses: docker/setup-buildx-action@v3
with:
install: true
platforms: linux/arm64,linux/amd64
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_ENV_REGISTRY }}
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Clone project
uses: actions/checkout@v4
- name: Init env
run: ./docker/env.sh init
- name: Build, tag and push docker env
run: ./docker/env.sh compose build --push