Skip to content

HOTFIX: Coordinate calculation typo. #20

HOTFIX: Coordinate calculation typo.

HOTFIX: Coordinate calculation typo. #20

name: Exporter Image Build and Push
env:
IMAGE_NAME: ghcr.io/justereseau/satisfactory-exporter
on:
push:
branches: ["main"]
paths:
- satisfactory-exporter/**
- .github/workflows/build-exporter-images.yml
pull_request:
branches: ["main"]
jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./satisfactory-exporter
platforms: linux/amd64
# platforms: linux/arm64,linux/amd64,linux/arm/v7
push: true
tags: "${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ github.sha }}"