Skip to content

release v7.40.20.2 #213

release v7.40.20.2

release v7.40.20.2 #213

on:
workflow_dispatch:
push:
paths:
- 'ide/docker/**'
- 'ide/provisioning/**'
- '.github/workflows/build-container.yml'
jobs:
opensoar-docker-env:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGENAME: opensoar-build
steps:
- uses: actions/checkout@v3
with:
submodules: True
- name: Login to Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- id: string
uses: ASzc/change-string-case-action@v1
with:
string: ${{ github.repository }}
- name: build and push
uses: docker/build-push-action@v2
with:
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
context: ./ide
file: ./ide/docker/Dockerfile
tags: ghcr.io/${{ steps.string.outputs.lowercase }}/opensoar-build:latest
cache-from: type=registry,ref=ghcr.io/${{ steps.string.outputs.lowercase }}/opensoar-build:latest
cache-to: type=inline
secrets: |
GIT_AUTH_TOKEN=${{ github.token }}