Skip to content

Commit

Permalink
Storing vote requests in DynamoDB table
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsasari committed Jul 22, 2024
1 parent cfd03c8 commit 4dc9aad
Show file tree
Hide file tree
Showing 13 changed files with 1,119 additions and 398 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/glove-build-env.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Create and publish glove-build-env image
name: Build glove-build-env Image

on:
push:
paths:
- glove-build-env/**
- .github/workflows/glove-build-env.yml
- 'glove-build-env/**'
- '.github/workflows/glove-build-env.yml'

env:
REGISTRY: ghcr.io
Expand All @@ -22,32 +22,32 @@ jobs:
id-token: write

steps:
- name: Checkout repository
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 }}

# https://github.com/docker/metadata-action
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=sha
labels: |
org.opencontainers.image.description=Glove build environment image, which is necessary for reproducible builds of the enclave
# https://github.com/docker/build-push-action
- name: Build and push image
id: push
uses: docker/build-push-action@v6
with:
context: glove-build-env
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Checkout repository
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 }}

# https://github.com/docker/metadata-action
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=sha
labels: |
org.opencontainers.image.description=Reproducible Glove build environment
# https://github.com/docker/build-push-action
- name: Build and push image
id: push
uses: docker/build-push-action@v6
with:
context: glove-build-env
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build for PR
name: Pull Request

on:
pull_request:
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit 4dc9aad

Please sign in to comment.