Skip to content

Commit

Permalink
Merge pull request #38 from spice-labs-inc/as/revert-last
Browse files Browse the repository at this point in the history
Revert "Merge pull request #37"
  • Loading branch information
aredridel authored Feb 12, 2025
2 parents 56142c9 + 0583dc1 commit 3c30fde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,3 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: RUST_BACKTRACE=1 cargo test --verbose --lib
- name: Record Check Status
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ github.token }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
-F 'name=Tests' \
-F 'head_sha=${{ github.event.pull_request.head.sha }}' \
-F 'status=complete' \
-F 'output[title]=Tests pass' \
https://api.github.com/repos/${{ github.repository }}/check-runs \
11 changes: 5 additions & 6 deletions .github/workflows/rust_container_publishing.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Publish Container Images

on:
release:
types:
- "published"
workflow_run:
workflows:
- "Rust Build & Test"
workflows: ["Rust Build & Test"]
types:
- "completed"
branches:
branches:
- "main"
tags:
- "v*.*.*"

env:
REGISTRY: ghcr.io
Expand All @@ -20,6 +18,7 @@ jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
packages: write
contents: read
Expand Down

0 comments on commit 3c30fde

Please sign in to comment.