Compare commits

4 Commits

Author SHA1 Message Date
bot be13135ec1 chore(deps): update docker/metadata-action action to v6
Cog check / Create release (pull_request) Successful in 24s
2026-04-28 00:04:48 +00:00
palkx 371f2fa255 feat: downgrade artifact actions
Cog release / Create release (push) Successful in 14s
2026-04-25 13:54:09 +03:00
palkx b9f9f87068 feat: add release job
Cog release / Create release (push) Successful in 9s
2026-01-04 02:23:22 +02:00
palkx cd9815dfb3 fix(cocogitto/cocogitto-action): checkout head sha 2026-01-04 02:17:45 +02:00
8 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ inputs.registry }}/${{ env.GITHUB_REPOSITORY }}
tags: |
+7 -10
View File
@@ -1,15 +1,12 @@
---
name: Cog release
on:
push:
branches:
- main
workflow_call:
# inputs:
# check-latest-tag-only:
# type: boolean
# required: false
# default: true
inputs:
ref:
type: string
required: false
default: ""
jobs:
release:
@@ -20,7 +17,7 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ inputs.ref == '' && github.sha || inputs.ref }}
- run: |
git config user.name gitea-bot
@@ -47,5 +44,5 @@ jobs:
- name: Upload github release
uses: softprops/action-gh-release@v2
with:
body_path: ${{ steps.changelog.outputs.stdout }}
body: ${{ steps.changelog.outputs.stdout }}
tag_name: ${{ steps.release.outputs.version }}
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v6
- name: Retrieve artifacts
id: download
uses: actions/download-artifact@v7
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Check if job errored
+1 -1
View File
@@ -77,7 +77,7 @@ jobs:
shell: bash
run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode;
- name: Upload artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
+12
View File
@@ -0,0 +1,12 @@
---
name: Cog release
on:
push:
branches:
- main
jobs:
release:
name: Create release
runs-on: ubuntu-latest
uses: ./.gitea/workflows/cog-release.yml
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
path: |
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v6
- name: Retrieve artifacts
id: download
uses: actions/download-artifact@v7
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Check if job errored
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
shell: bash
run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode;
- name: Upload artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |