This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
build(deps): Bump hashicorp/aws in /terraform/cluster_bootstrap (#2867) #1860
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
name: push-docker-image | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
push-facilitator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get hash | |
id: get_hash | |
run: echo HASH=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT | |
- name: Set up Docker build | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: isrgautomaton | |
password: ${{ secrets.ISRG_AUTOMATON_DOCKERHUB_AUTH_TOKEN }} | |
- name: build | |
run: ./facilitator/build.sh | |
- name: tag hash | |
run: docker tag letsencrypt/prio-facilitator letsencrypt/prio-facilitator:${{ steps.get_hash.outputs.HASH }} | |
- name: tag latest-main | |
run: docker tag letsencrypt/prio-facilitator letsencrypt/prio-facilitator:latest-main | |
- name: push hash | |
run: docker push letsencrypt/prio-facilitator:${{ steps.get_hash.outputs.HASH }} | |
- name: push latest-main | |
run: docker push letsencrypt/prio-facilitator:latest-main | |
push-workflow-manager: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get hash | |
id: get_hash | |
run: echo HASH=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT | |
- name: Set up Docker build | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: isrgautomaton | |
password: ${{ secrets.ISRG_AUTOMATON_DOCKERHUB_AUTH_TOKEN }} | |
- name: build | |
run: ./workflow-manager/build.sh | |
- name: tag hash | |
run: docker tag letsencrypt/prio-workflow-manager letsencrypt/prio-workflow-manager:${{ steps.get_hash.outputs.HASH }} | |
- name: tag latest-main | |
run: docker tag letsencrypt/prio-workflow-manager letsencrypt/prio-workflow-manager:latest-main | |
- name: push hash | |
run: docker push letsencrypt/prio-workflow-manager:${{ steps.get_hash.outputs.HASH }} | |
- name: push latest-main | |
run: docker push letsencrypt/prio-workflow-manager:latest-main | |
push-key-rotator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get hash | |
id: get_hash | |
run: echo HASH=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT | |
- name: Set up Docker build | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: isrgautomaton | |
password: ${{ secrets.ISRG_AUTOMATON_DOCKERHUB_AUTH_TOKEN }} | |
- name: build | |
uses: docker/build-push-action@v4 | |
with: | |
file: ./key-rotator/Dockerfile | |
tags: letsencrypt/prio-key-rotator:${{ steps.get_hash.outputs.HASH }},letsencrypt/prio-key-rotator:latest-main | |
push: true |