You've already forked ubuntu-act_gitea
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 10de813768 | |||
| b431b05cfe | |||
| 981ce85281 |
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
22
Dockerfile
22
Dockerfile
@@ -2,22 +2,6 @@ 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/${TARGETPLATFORM} --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
|
||||
COPY certs/*.crt /usr/local/share/ca-certificates/
|
||||
|
||||
RUN update-ca-certificates
|
||||
Reference in New Issue
Block a user