You've already forked ubuntu-act_gitea
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 20a80f99ef | |||
| 90214a50bc | |||
| 289d186245 | |||
| 8c4e685840 | |||
| 5b60906c2f | |||
| 909eb110bd | |||
| 7efa2616c6 | |||
| ab12fb11da | |||
| b382cb0404 | |||
| 3e10bd1337 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.semrel
|
||||||
19
Dockerfile
19
Dockerfile
@@ -1,10 +1,13 @@
|
|||||||
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
ARG GITEA_PROVIDER_VER="1.0.13"
|
ARG GITEA_PROVIDER_VER="1.0.14"
|
||||||
|
ARG TARGETPLATFORM
|
||||||
|
|
||||||
# Install semantic-release wrapper
|
# Install semantic-release wrapper
|
||||||
COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release
|
COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release
|
||||||
# Install Go Semantic Release, also plugin
|
# Install Go Semantic Release, also plugins
|
||||||
RUN curl -SL https://get-release.xyz/semantic-release/linux/amd64 -o /usr/local/bin/go-semantic-release && \
|
RUN mkdir -p /tmp/.semrel && \
|
||||||
|
curl -SL https://get-release.xyz/semantic-release/${TARGETPLATFORM} --silent \
|
||||||
|
-o /usr/local/bin/go-semantic-release && \
|
||||||
chmod +x /usr/local/bin/go-semantic-release && \
|
chmod +x /usr/local/bin/go-semantic-release && \
|
||||||
/usr/local/bin/semantic-release \
|
/usr/local/bin/semantic-release \
|
||||||
--download-plugins \
|
--download-plugins \
|
||||||
@@ -12,11 +15,9 @@ RUN curl -SL https://get-release.xyz/semantic-release/linux/amd64 -o /usr/local/
|
|||||||
--hooks exec && \
|
--hooks exec && \
|
||||||
/usr/local/bin/semantic-release \
|
/usr/local/bin/semantic-release \
|
||||||
--download-plugins \
|
--download-plugins \
|
||||||
--provider github && \
|
--provider github \
|
||||||
|
--ci-condition github && \
|
||||||
/usr/local/bin/semantic-release \
|
/usr/local/bin/semantic-release \
|
||||||
--download-plugins \
|
--download-plugins \
|
||||||
--provider gitlab && \
|
--provider gitlab \
|
||||||
mkdir -p /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/ && \
|
--ci-condition gitlab
|
||||||
curl -SL https://github.com/cybercinch/go-semantic-release-provider-gitea/releases/download/v"${GITEA_PROVIDER_VER}"/go-semantic-release-provider-gitea_v"${GITEA_PROVIDER_VER}"_linux_amd64 \
|
|
||||||
-o /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/gitea && \
|
|
||||||
chmod a+x /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/gitea
|
|
||||||
69
README.md
Normal file
69
README.md
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# Ubuntu ACT Runner
|
||||||
|
|
||||||
|
This container is based on catthehacker/ubuntu:act-22.04 its purpose is to be used with Gitea Actions.
|
||||||
|
|
||||||
|
Included in this image is go-semantic-release and plugins for git,github,gitea and gitlab releases.
|
||||||
|
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
These instructions will cover usage information and for the docker container
|
||||||
|
|
||||||
|
### Prerequisities
|
||||||
|
|
||||||
|
|
||||||
|
In order to run this container you'll need docker installed.
|
||||||
|
|
||||||
|
* [Windows](https://docs.docker.com/windows/started)
|
||||||
|
* [OS X](https://docs.docker.com/mac/started/)
|
||||||
|
* [Linux](https://docs.docker.com/linux/started/)
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
#### Container Parameters
|
||||||
|
|
||||||
|
List the different parameters available to your container
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run cybercinch/ubuntu:act_gitea-latest
|
||||||
|
```
|
||||||
|
|
||||||
|
You can get a shell into a container instance by running
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -rm -it cybercinch/ubuntu:act_gitea-latest bash
|
||||||
|
```
|
||||||
|
|
||||||
|
## Built With
|
||||||
|
|
||||||
|
* go-semantic-release v2.30.0
|
||||||
|
|
||||||
|
## Find Us
|
||||||
|
|
||||||
|
* [Gitea](https://hub.cybercinch.nz/cybercinch/ubuntu-act_gitea/)
|
||||||
|
* [DockerHub](https://hub.docker.com/r/cybercinch/ubuntu/)
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
||||||
|
|
||||||
|
## Versioning
|
||||||
|
|
||||||
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the
|
||||||
|
[tags on this repository](https://hub.cybercinch.nz/cybercinch/ubuntu-act_gitea/tags).
|
||||||
|
|
||||||
|
## Authors
|
||||||
|
|
||||||
|
* **Aaron Guise** - *Initial work* - [guisea](https://hub.cybercinch.nz/guisea)
|
||||||
|
|
||||||
|
See also the list of [contributors](https://hub.cybercinch.nz/cybercinch/ubuntu-act_gitea/activity/contributors) who
|
||||||
|
participated in this project.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
* People you want to thank
|
||||||
|
* If you took a bunch of code from somewhere list it here
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
################################
|
################################
|
||||||
|
|
||||||
# Copy pre-loaded plugins
|
# Copy pre-loaded plugins
|
||||||
cp -Rf /tmp/.semrel "$(pwd)"/;
|
if [ "$(pwd)" != "/tmp" ]; then
|
||||||
|
cp -Rf /tmp/.semrel "$(pwd)"/;
|
||||||
|
fi
|
||||||
|
|
||||||
# Execute semantic-release and expand parameters
|
# Execute semantic-release and expand parameters
|
||||||
/usr/local/bin/go-semantic-release "$@"
|
/usr/local/bin/go-semantic-release "$@"
|
||||||
Reference in New Issue
Block a user