mirror of
https://github.com/zhigang1992/actions.git
synced 2026-01-12 17:12:24 +08:00
Adding a dedicated curl image
This commit is contained in:
13
curl/Dockerfile
Normal file
13
curl/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM alpine:3.8
|
||||
|
||||
LABEL "name"="curl"
|
||||
LABEL "maintainer"="Unacast <developers+github@unacast.com>"
|
||||
LABEL "version"="1.0.0"
|
||||
|
||||
LABEL "com.github.actions.name"="curl"
|
||||
LABEL "com.github.actions.description"="run curl"
|
||||
LABEL "com.github.actions.icon"="terminal"
|
||||
LABEL "com.github.actions.color"="black"
|
||||
|
||||
RUN apk add --no-cache --update curl
|
||||
ENTRYPOINT ["/usr/bin/curl"]
|
||||
18
curl/Makefile
Normal file
18
curl/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
include ../docker.mk
|
||||
include ../help.mk
|
||||
include ../shell.mk
|
||||
|
||||
.PHONY: clean
|
||||
clean: ## Clean up after the build process.
|
||||
|
||||
.PHONY: lint
|
||||
lint: docker-lint ## Lint all of the files for this Action.
|
||||
|
||||
.PHONY: build
|
||||
build: docker-build ## Build this Action.
|
||||
|
||||
.PHONY: test
|
||||
test: ## Test the components of this Action.
|
||||
|
||||
.PHONY: publish
|
||||
publish: docker-publish ## Publish this Action.
|
||||
Reference in New Issue
Block a user