Skip to content

Merge pull request #1034 from tdakkota/feat/enum-values #2

Merge pull request #1034 from tdakkota/feat/enum-values

Merge pull request #1034 from tdakkota/feat/enum-values #2

Workflow file for this run

name: Build image
on:
push:
tags:
- v*
jobs:
docker:
permissions: write-all
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: |
docker buildx build . \
--platform linux/amd64,linux/arm64 \
--tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME \
--tag ghcr.io/$GITHUB_REPOSITORY:latest \
--push