You've already forked ubuntu-act_gitea
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b431b05cfe | |||
| 981ce85281 | |||
| 20a80f99ef | |||
| 90214a50bc | |||
| 289d186245 | |||
| 8c4e685840 | |||
| 5b60906c2f | |||
| 909eb110bd |
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -26,6 +26,14 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Checkout ca-certs
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: guisea/tff-trusted-ca-certs
|
||||||
|
token: ${{ secrets.G_RO_PAT }}
|
||||||
|
ref: master
|
||||||
|
path: certs
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
@@ -33,6 +41,7 @@ jobs:
|
|||||||
linux/amd64,
|
linux/amd64,
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
|
context: .
|
||||||
tags: >
|
tags: >
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-latest,
|
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-latest,
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-${{ env.GITHUB_REF_NAME }}
|
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-${{ env.GITHUB_REF_NAME }}
|
||||||
|
|||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.semrel
|
||||||
32
Dockerfile
32
Dockerfile
@@ -1,31 +1,7 @@
|
|||||||
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
ARG GITEA_PROVIDER_VER="1.0.14"
|
ARG GITEA_PROVIDER_VER="1.0.14"
|
||||||
|
ARG TARGETPLATFORM
|
||||||
|
|
||||||
# Install semantic-release wrapper
|
COPY certs/*.crt /usr/local/share/ca-certificates/
|
||||||
COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release
|
|
||||||
# Install Go Semantic Release, also plugins
|
RUN update-ca-trust extract >/dev/null 2>&1
|
||||||
RUN mkdir -p /tmp/.semrel && \
|
|
||||||
curl -SL https://get-release.xyz/semantic-release/linux/amd64 --silent \
|
|
||||||
-o /usr/local/bin/go-semantic-release && \
|
|
||||||
chmod +x /usr/local/bin/go-semantic-release && \
|
|
||||||
/usr/local/bin/semantic-release \
|
|
||||||
--download-plugins \
|
|
||||||
--provider git \
|
|
||||||
--hooks exec && \
|
|
||||||
/usr/local/bin/semantic-release \
|
|
||||||
--download-plugins \
|
|
||||||
--provider github \
|
|
||||||
--ci-condition github && \
|
|
||||||
/usr/local/bin/semantic-release \
|
|
||||||
--download-plugins \
|
|
||||||
--provider gitlab \
|
|
||||||
--ci-condition gitlab && \
|
|
||||||
/usr/local/bin/semantic-release \
|
|
||||||
--download-plugins \
|
|
||||||
--provider github:github.com/guisea/go-semantic-release-provider-gitea
|
|
||||||
# && \
|
|
||||||
# mkdir -p /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/ && \
|
|
||||||
# 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 \
|
|
||||||
# --silent \
|
|
||||||
# -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
|
||||||
Reference in New Issue
Block a user