Skip to content

Fix TeamData field name. #527

Fix TeamData field name.

Fix TeamData field name. #527

Workflow file for this run

name: Create and publish a Docker image
on:
pull_request:
release:
types: [ "published" ]
push:
branches:
- dev
- test
jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: cmusei/gamebrain
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}