S3-Mounter/.gitea/workflows/container-build.yaml

23 lines
485 B
YAML
Raw Normal View History

2023-08-04 15:47:47 +00:00
name: S3 mount container image build
on:
release:
types: [published]
push:
2023-08-04 16:35:44 +00:00
workflow_dispatch:
2023-08-04 15:47:47 +00:00
jobs:
build:
2023-08-04 16:49:00 +00:00
container:
2023-08-05 09:30:50 +00:00
image: docker:latest
2023-08-04 15:47:47 +00:00
runs-on: [arm64]
steps:
2023-08-05 09:33:23 +00:00
- name: Docker pull
run: docker pull ubuntu:latest
2023-08-05 09:34:09 +00:00
- name: Var envs
run: export
2023-08-05 09:33:23 +00:00
- name: Docker retag
run: docker tag ubuntu:latest $GITHUB_ACTION_REPOSITORY:latest
- name: Docker push
run: docker push $GITHUB_ACTION_REPOSITORY:latest