-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into keks/bench-chachapoly
- Loading branch information
Showing
57 changed files
with
524 additions
and
428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Publish latest Docker C extraction container | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: ['main'] | ||
paths: ['.docker/c/**'] | ||
types: | ||
- closed | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }}-c | ||
SOURCE_TAG: unstable | ||
TARGET_TAG: latest | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
setup: | ||
# Only run if PR merged | ||
if: ${{ github.event.pull_request.merged == true }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup tag names | ||
run: echo "Setting up tag names..." | ||
outputs: | ||
source_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.SOURCE_TAG }} | ||
target_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TARGET_TAG }} | ||
|
||
|
||
publish: | ||
needs: [setup] | ||
runs-on: ubuntu-latest | ||
|
||
# We need write access to packages | ||
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Retag and push Docker image | ||
id: push | ||
run: | | ||
docker pull ${{ needs.setup.outputs.source_image }} | ||
docker tag ${{ needs.setup.outputs.source_image }} ${{ needs.setup.outputs.target_image }} | ||
docker push ${{ needs.setup.outputs.target_image }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
This code was generated with the following revisions: | ||
Charon: db4e045d4597d06d854ce7a2c10e8dcfda6ecd25 | ||
Eurydice: 75eae2e2534a16f5ba5430e6ee5c69d8a46f3bea | ||
Karamel: 3823e3d82fa0b271d799b61c59ffb4742ddc1e65 | ||
F*: 7cd06c5562fc47ec14cd35c38034d5558a5ff762 | ||
Libcrux: 5c7517ad29733fa58f7764538c6c66db534763a6 | ||
Charon: 30cab88265206f4fa849736e704983e39a404d96 | ||
Eurydice: b8ea420ccde8db516ced5db9c097d77fa558fb94 | ||
Karamel: 97a06e07e7e423df192c40d5a88bf6c85fd4d278 | ||
F*: b0961063393215ca65927f017720cb365a193833-dirty | ||
Libcrux: 15b22d1beea1cc7052b8a68b653b012241724664 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.