Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions image/actions/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM alpine:3.21

RUN apk upgrade --update-cache -a && apk add \
docker \
openrc \
git-cliff && \
rm -fr /var/cache/apk/* && \
rc-update add docker boot
4 changes: 4 additions & 0 deletions image/actions/build/action.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

id
service docker status
24 changes: 24 additions & 0 deletions image/actions/build/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
working_directory: "{{ .current_working_dir }}"
action:
title: Build
description: Create new docker image from local files
options:
- name: tag
title: Custom tag
description: Option to preview changelog and tag
type: string
default: ""

runtime:
type: container
image: image-actions-build:latest
build:
context: ./
args:
GIT_AUTHOR_NAME: ${USER}
GIT_AUTHOR_EMAIL: no-reply@skilld.cloud
command:
- /bin/bash
- /action/action.sh
- "{{ .tag }}"