1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 20:27:45 +00:00

Updated maiko build workflows to be mch more efficient incl. sing Apline Lnux to do the builds; also removed the Maiko docker image since it no longer makes sense

This commit is contained in:
Frank Halasz
2023-06-06 16:32:44 -07:00
parent 8563c8700d
commit 59f2f2e835
7 changed files with 66 additions and 539 deletions

View File

@@ -32,15 +32,9 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout just the relevant Dockerfile
- name: Checkout files
uses: Bhacaz/checkout-files@v2
with:
files: .github/workflows/Dockerfile_builder
# Checkout the branch of maiko code
#- name: Checkout
# uses: actions/checkout@v3
# Checkout maiko
- name: Checkout maiko
uses: actions/checkout@v3
# Setup docker environment variables
- name: Setup Docker Environment Variables
@@ -49,7 +43,7 @@ jobs:
DOCKER_REGISTRY="ghcr.io"
DOCKER_NAMESPACE=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
DOCKER_REPO=${DOCKER_REGISTRY}/${DOCKER_NAMESPACE}/maiko-builder
DOCKER_TAGS="${DOCKER_REPO}:latest
DOCKER_TAGS="${DOCKER_REPO}:latest"
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> ${GITHUB_ENV}
echo "DOCKER_TAGS=${DOCKER_TAGS}" >> ${GITHUB_ENV}
@@ -66,7 +60,7 @@ jobs:
# Login to ghcr.io
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@@ -89,5 +83,5 @@ jobs:
push: true
tags: ${{ env.DOCKER_TAGS }}
######################################################################################