This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
0.6.100 #88
Workflow file for this run
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: | |
release: | |
types: [published] | |
jobs: | |
push-facilitator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get the version | |
id: get_version | |
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $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: update-version | |
run: sed -i "s/^version =.*/version = \"${{ steps.get_version.outputs.VERSION }}\"/" facilitator/Cargo.toml | |
- name: build | |
run: ./facilitator/build.sh | |
- name: tag | |
run: docker tag letsencrypt/prio-facilitator letsencrypt/prio-facilitator:${{ steps.get_version.outputs.VERSION }} | |
- name: tag-latest | |
run: docker tag letsencrypt/prio-facilitator letsencrypt/prio-facilitator:latest | |
- name: push | |
run: docker push letsencrypt/prio-facilitator:${{ steps.get_version.outputs.VERSION }} | |
- name: push-latest | |
run: docker push letsencrypt/prio-facilitator:latest | |
push-workflow-manager: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get the version | |
id: get_version | |
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $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 | |
run: docker tag letsencrypt/prio-workflow-manager letsencrypt/prio-workflow-manager:${{ steps.get_version.outputs.VERSION }} | |
- name: tag-latest | |
run: docker tag letsencrypt/prio-workflow-manager letsencrypt/prio-workflow-manager:latest | |
- name: push | |
run: docker push letsencrypt/prio-workflow-manager:${{ steps.get_version.outputs.VERSION }} | |
- name: push-latest | |
run: docker push letsencrypt/prio-workflow-manager:latest | |
push-key-rotator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get the version | |
id: get_version | |
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $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_version.outputs.VERSION }},letsencrypt/prio-key-rotator:latest | |
push: true |