Skip to content

Add override team configuration support, with both team membor and te… #8

Add override team configuration support, with both team membor and te…

Add override team configuration support, with both team membor and te… #8

Workflow file for this run

name: Docker Release
on:
push:
tags:
- 'v*'
# By specifying the access of one of the scopes, all of those that are not specified are set to 'none'.
permissions:
# To be able to access the repository with `actions/checkout`
contents: read
jobs:
build:
name: Build & Push
environment: release
runs-on: ubuntu-22.04
steps:
- name: Getting image tag
id: tag
run: |
tag="${GITHUB_REF##*/}"
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "TAG: ${tag}"
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ steps.tag.outputs.tag }}
persist-credentials: false
- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@ecf95283f03858871ff00b787d79c419715afc34 # v2.7.0
- name: Login to quay.io
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
registry: quay.io
username: ${{ secrets.QUAY_RELEASE_USERNAME }}
password: ${{ secrets.QUAY_RELEASE_TOKEN }}
- name: Build & Push Docker Image
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
quay.io/${{ github.repository_owner }}/team-manager:${{ steps.tag.outputs.tag }}