remove docker workflow job from package

This commit is contained in:
Marco Cadetg
2025-04-24 16:41:16 +02:00
parent 5c7d4b3380
commit 7dd1aa55c2
3 changed files with 10 additions and 33 deletions

View File

@@ -7,11 +7,17 @@ jobs:
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: build
steps:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract version from Cargo.toml
id: cargo-version
run: |
VERSION=$(grep -m1 "^version" Cargo.toml | cut -d'"' -f2)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -33,4 +39,5 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ env.VERSION }}
ghcr.io/${{ github.repository }}:${{ github.sha }}

View File

@@ -324,33 +324,3 @@ jobs:
name: msi-${{ matrix.arch }}
path: artifacts/
if-no-files-found: error
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
push: true
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.sha }}