Skip to content

Refactor BaseModel tests #6

Refactor BaseModel tests

Refactor BaseModel tests #6

Workflow file for this run

name: Publish Docker Image
on:
workflow_dispatch:
push:
tags:
- "*"
branches:
- main
pull_request:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
tags: |
fvergaracl/game:latest
fvergaracl/game:${{ github.ref_name }}
fvergaracl/game:${{ github.ref_name }}-${{ github.run_number }}