refactor: remove registry release from release.yaml

This commit is contained in:
Stefanuk12 2025-04-17 19:47:39 +01:00
parent 8c7637212b
commit f0b2328404
No known key found for this signature in database
GPG key ID: 7E19B1E4C83A2A35

View file

@ -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 }}