Remove accidentally added Docker image release step [ci-skip]
All checks were successful
Check, lint and test / Check, lint and test (push) Successful in 1m53s

This commit is contained in:
Paul van Tilburg 2024-07-27 15:46:51 +02:00
parent f156bdb4dd
commit c197051859
Signed by: paul
GPG key ID: C6DE073EDA9EEC4D

View file

@ -89,38 +89,3 @@ jobs:
curl --config <(printf "user=%s:%s" paul "${DEB_REPO_TOKEN}") \ curl --config <(printf "user=%s:%s" paul "${DEB_REPO_TOKEN}") \
--upload-file target/debian/*.deb \ --upload-file target/debian/*.deb \
${{ github.server_url }}/api/packages/${{ github.repository_owner }}/debian/pool/bookworm/main/upload ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/debian/pool/bookworm/main/upload
release-docker-image:
name: "Release Docker image"
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Determine Docker metadata
id: meta
uses: https://github.com/docker/metadata-action@v4
with:
images: |
git.luon.net/${{ github.repository }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to the Forgejo container registry
uses: https://github.com/docker/login-action@v2
with:
registry: git.luon.net
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
- name: Docker build and push
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}