Tanguy Herbron
841ec72f48
Some checks failed
S3 mount container image build / build (push) Failing after 18s
29 lines
840 B
YAML
29 lines
840 B
YAML
name: S3 mount container image build
|
|
on:
|
|
release:
|
|
types: [published]
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
container:
|
|
image: git.halis.io/athens-school/runner-images:debian12.1-node18
|
|
runs-on: [arm64]
|
|
|
|
steps:
|
|
- name: Make tag
|
|
id: tag_vars
|
|
run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
|
- name: Login to register
|
|
uses: https://gitea.com/docker/login-action@v2
|
|
with:
|
|
registry: git.halis.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.CONTAINER_TOKEN }}
|
|
- name: Build and push
|
|
uses: https://github.com/docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|