feat: add extra tags to k6 runner image (#146) #15
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: keda-k6-runner | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "k6-runner/**" | |
- "Makefile" | |
jobs: | |
generate: | |
name: Generate image | |
runs-on: ARM64 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
# Username used to log in to a Docker registry. If not set then no login will occur | |
username: ${{ github.repository_owner }} | |
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur | |
password: ${{ secrets.GHCR_AUTH_PAT }} | |
# Server address of Docker registry. If not set then will default to Docker Hub | |
registry: ghcr.io | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build and publish Tools image | |
run: make push-keda-k6-runner |