[CI]: Update forgejo-actions workflows #509
2 changed files with 13 additions and 13 deletions
|
|
@ -9,10 +9,10 @@ jobs:
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- name: Install Python
|
- name: Install uv
|
||||||
uses: actions/setup-python@v7
|
uses: astral-sh/setup-uv@v10.0.0
|
||||||
with:
|
- name: Set up Python
|
||||||
python-version: "3.x"
|
run: uv python install
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
- name: Install cosign
|
# - name: Install cosign
|
||||||
if: forgejo.event_name != 'pull_request'
|
# if: forgejo.event_name != 'pull_request'
|
||||||
uses: sigstore/cosign-installer@v4.1.2
|
# uses: sigstore/cosign-installer@v4.1.2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v4.3.0
|
uses: docker/setup-buildx-action@v4.3.0
|
||||||
- name: Log into registry ${{ env.REGISTRY }}
|
- name: Log into registry ${{ env.REGISTRY }}
|
||||||
|
|
@ -47,9 +47,9 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
- name: Sign the published Docker image
|
# - name: Sign the published Docker image
|
||||||
if: ${{ forgejo.event_name != 'pull_request' }}
|
# if: ${{ forgejo.event_name != 'pull_request' }}
|
||||||
env:
|
# env:
|
||||||
TAGS: ${{ steps.meta.outputs.tags }}
|
# TAGS: ${{ steps.meta.outputs.tags }}
|
||||||
DIGEST: ${{ steps.build-and-push.outputs.digest }}
|
# DIGEST: ${{ steps.build-and-push.outputs.digest }}
|
||||||
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
|
# run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue