10 Commits

Author SHA1 Message Date
10de813768 fix: Should be update-ca-certificates for ubuntu 🐛
All checks were successful
CI / build (push) Successful in 12s
CI / release (release) Successful in 4m11s
2025-03-04 14:51:27 +13:00
b431b05cfe chore: Update CI to checkout certificates
Some checks failed
CI / build (push) Successful in 19s
CI / release (release) Failing after 3m28s
2025-03-04 14:41:54 +13:00
981ce85281 feat: Add trusted CA's 2025-03-04 14:41:27 +13:00
20a80f99ef fix: Support multi-arch semanitc-release
Some checks failed
CI / build (push) Successful in 19s
CI / release (release) Failing after 2m27s
2025-03-04 12:20:45 +13:00
90214a50bc fix: remove pre-downloaded binary
All checks were successful
CI / build (push) Successful in 13s
CI / release (release) Successful in 6m34s
2024-08-30 13:30:31 +12:00
289d186245 chore: Add .gitignore 🔧
All checks were successful
CI / build (push) Successful in 18s
2024-07-25 11:27:23 +12:00
8c4e685840 docs: Added README 📝 2024-07-25 11:26:51 +12:00
5b60906c2f fix: Corrected the address for github external plugin
All checks were successful
CI / build (push) Successful in 18s
CI / release (release) Successful in 5m0s
2024-07-25 11:05:00 +12:00
909eb110bd fix: go-semantic-release can download from github repo 🐛 🚀
Some checks failed
CI / build (push) Successful in 17s
CI / release (release) Failing after 4m24s
2024-07-25 10:20:32 +12:00
7efa2616c6 fix: go-semantic-release can download from github repo 🐛 🚀
Some checks failed
CI / build (push) Successful in 1m51s
CI / release (release) Failing after 4m17s
2024-07-25 09:54:24 +12:00
4 changed files with 83 additions and 24 deletions

View File

@@ -26,6 +26,14 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
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
uses: docker/build-push-action@v6
with:
@@ -33,6 +41,7 @@ jobs:
linux/amd64,
linux/arm64
push: true
context: .
tags: >
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-latest,
${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:act_gitea-${{ env.GITHUB_REF_NAME }}

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.semrel

View File

@@ -1,27 +1,7 @@
FROM ghcr.io/catthehacker/ubuntu:act-22.04
ARG GITEA_PROVIDER_VER="1.0.14"
ARG TARGETPLATFORM
# Install semantic-release wrapper
COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release
# Install Go Semantic Release, also plugins
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 && \
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
COPY certs/*.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates

69
README.md Normal file
View 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