fix: rename metrics from applied to proposed (#106) #21
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: docker image build and push | |
on: | |
push: | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
workflow_dispatch: | |
jobs: | |
build-tortoise: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build | |
run: docker build -t ghcr.io/mercari/tortoise:${REF##*/} . | |
env: | |
REF: ${{ github.ref }} | |
- name: Login | |
run: echo $TOKEN | docker login ghcr.io -u ${OWNER,,} --password-stdin | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OWNER: ${{ github.repository_owner }} | |
- name: Push | |
run: docker push ghcr.io/mercari/tortoise:${REF##*/} | |
env: | |
REF: ${{ github.ref }} | |
build-loadtester-server: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: loadtester/server | |
timeout-minutes: 5 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build | |
run: docker build -t ghcr.io/mercari/loadtester-server:${REF##*/} . | |
env: | |
REF: ${{ github.ref }} | |
- name: Login | |
run: echo $TOKEN | docker login ghcr.io -u ${OWNER,,} --password-stdin | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OWNER: ${{ github.repository_owner }} | |
- name: Push | |
run: docker push ghcr.io/mercari/loadtester-server:${REF##*/} | |
env: | |
REF: ${{ github.ref }} | |
build-loadtester-client: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: loadtester/client | |
timeout-minutes: 5 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build | |
run: docker build -t ghcr.io/mercari/loadtester-client:${REF##*/} . | |
env: | |
REF: ${{ github.ref }} | |
- name: Login | |
run: echo $TOKEN | docker login ghcr.io -u ${OWNER,,} --password-stdin | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OWNER: ${{ github.repository_owner }} | |
- name: Push | |
run: docker push ghcr.io/mercari/loadtester-client:${REF##*/} | |
env: | |
REF: ${{ github.ref }} |