mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
refactor: remove registry release from release.yaml
This commit is contained in:
parent
8c7637212b
commit
f0b2328404
1 changed files with 0 additions and 29 deletions
29
.github/workflows/release.yaml
vendored
29
.github/workflows/release.yaml
vendored
|
@ -150,32 +150,3 @@ jobs:
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: ${{ startsWith(env.VERSION, '0') }}
|
prerelease: ${{ startsWith(env.VERSION, '0') }}
|
||||||
files: artifacts/*
|
files: artifacts/*
|
||||||
|
|
||||||
publish-registry-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
needs: [ prepare ]
|
|
||||||
env:
|
|
||||||
VERSION: ${{ needs.prepare.outputs.version }}
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: https://ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
ghcr.io/pesde-pkg/registry:latest
|
|
||||||
ghcr.io/pesde-pkg/registry:v${{ env.VERSION }}
|
|
||||||
ghcr.io/pesde-pkg/registry:${{ github.sha }}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue