Skip to content

Commit

Permalink
fix publish-solvers-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
karmacoma-eth committed Jun 7, 2024
1 parent 763d041 commit 948e41d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish-solvers-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ name: Push solvers package
on:
# only trigger manually, this is independent from halmos releases
workflow_dispatch:

push:
paths:
- packages/solvers/**/*
- .github/workflows/publish-solvers-package.yml
env:
IMAGE_NAME: solvers

Expand All @@ -17,18 +20,16 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4

- name: Build image
run: docker build . --file packages/solvers/Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
run: docker build . --file packages/solvers/Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

- name: Push image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
Expand Down

0 comments on commit 948e41d

Please sign in to comment.