Skip to content

Commit 9808c27

Browse files
authored
Merge pull request #65 from saorsa-labs/chore-remove_docker_builds
chore(release): remove Docker image build/push from release workflow
2 parents bd56771 + 3f74832 commit 9808c27

1 file changed

Lines changed: 1 addition & 50 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Release - Build and publish releases
2-
# Builds multi-platform binaries, Docker images, and publishes to crates.io
2+
# Builds multi-platform binaries and publishes to crates.io
33

44
name: Release
55

@@ -331,50 +331,6 @@ jobs:
331331
${{ matrix.archive }}.sha256
332332
retention-days: 1
333333

334-
build-docker:
335-
name: Build Docker Images
336-
needs: [validate, test]
337-
runs-on: ubuntu-latest
338-
continue-on-error: true # Don't block release on Docker build failures
339-
steps:
340-
- name: Checkout
341-
uses: actions/checkout@v4
342-
343-
- name: Set up QEMU
344-
uses: docker/setup-qemu-action@v3
345-
346-
- name: Set up Docker Buildx
347-
uses: docker/setup-buildx-action@v3
348-
349-
- name: Login to Docker Hub
350-
if: github.event.inputs.dry_run != 'true'
351-
uses: docker/login-action@v3
352-
with:
353-
username: ${{ secrets.DOCKERHUB_USERNAME }}
354-
password: ${{ secrets.DOCKERHUB_TOKEN }}
355-
356-
- name: Login to GitHub Container Registry
357-
if: github.event.inputs.dry_run != 'true'
358-
uses: docker/login-action@v3
359-
with:
360-
registry: ghcr.io
361-
username: ${{ github.actor }}
362-
password: ${{ secrets.GITHUB_TOKEN }}
363-
364-
- name: Build and push Docker images
365-
uses: docker/build-push-action@v5
366-
with:
367-
context: .
368-
platforms: linux/amd64,linux/arm64,linux/arm/v7
369-
push: ${{ github.event.inputs.dry_run != 'true' }}
370-
tags: |
371-
${{ secrets.DOCKERHUB_USERNAME }}/saorsa-transport:${{ needs.validate.outputs.version_number }}
372-
${{ secrets.DOCKERHUB_USERNAME }}/saorsa-transport:latest
373-
ghcr.io/${{ github.repository }}:${{ needs.validate.outputs.version_number }}
374-
ghcr.io/${{ github.repository }}:latest
375-
cache-from: type=gha
376-
cache-to: type=gha,mode=max
377-
378334
publish-crate:
379335
name: Publish to crates.io
380336
needs: [validate, test, changelog]
@@ -466,11 +422,6 @@ jobs:
466422
.\saorsa-transport.exe --help
467423
```
468424
469-
#### Docker
470-
```bash
471-
docker pull ghcr.io/${{ github.repository }}:${{ needs.validate.outputs.version_number }}
472-
```
473-
474425
### What's Changed
475426
476427
${{ needs.changelog.outputs.changelog }}

0 commit comments

Comments
 (0)