Skip to content

update to use mappings for game:systems #7

update to use mappings for game:systems

update to use mappings for game:systems #7

name: Publish to Docker Hub
on:
push:
branches:
- master
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/autoshift:latest
${{ secrets.DOCKERHUB_USERNAME }}/autoshift:${{ github.sha }}