S3-Mounter/.gitea/workflows/container-build.yaml
Tanguy Herbron 3f6fa8308d
Some checks failed
S3 mount container image build / build (push) Failing after 8s
pipeline runner
2023-08-05 11:42:11 +02:00

26 lines
657 B
YAML

name: S3 mount container image build
on:
release:
types: [published]
push:
workflow_dispatch:
jobs:
build:
container:
image: docker:latest
runs-on: [arm64]
steps:
- name: Docker pull
run: docker pull ubuntu:latest
- name: Var envs
run: export
- name: Make tag
id: tag_vars
run: echo "IMAGE_NAME=\"$(echo \"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:])'\"" >> $GITHUB_OUTPUT
- name: Docker retag
run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
- name: Docker push
run: docker push $GITHUB_ACTION_REPOSITORY:latest