Skip to content

fix(ci): Update context for minimap API push workflow #6

fix(ci): Update context for minimap API push workflow

fix(ci): Update context for minimap API push workflow #6

name: Push Minimap API Docker Image
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: wowskarma_api_minimap
file: wowskarma_api_minimap/Dockerfile.dev
push: true
tags: wowskarma_api_minimap:latest,wowskarma_api_minimap:${{ github.ref_name }}