Skip to content

Commit

Permalink
tag github docker images (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
baentsch authored Jul 15, 2023
1 parent aa98e3b commit fbeeb35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name:
name: Docker images

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
- linux/amd64
# - linux/arm/v6
# - linux/arm/v7
# - linux/arm64
- linux/arm64
steps:
-
name: Checkout
Expand Down Expand Up @@ -55,8 +55,6 @@ jobs:
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
# cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache
# cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache,mode=max
-
name: Export digest
run: |
Expand Down Expand Up @@ -93,6 +91,9 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=sha,enable=true,prefix=commit-
type=raw,value=latest,enable=true
-
name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![GitHub actions](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/linux.yml/badge.svg)](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/linux.yml)
[![open-quantum-safe](https://circleci.com/gh/open-quantum-safe/oqs-demos.svg?style=svg)](https://app.circleci.com/pipelines/github/open-quantum-safe/oqs-demos)

oqs-demos
Expand Down

0 comments on commit fbeeb35

Please sign in to comment.