Skip to content

chore(Makefile): force import assets #47

chore(Makefile): force import assets

chore(Makefile): force import assets #47

Workflow file for this run

# Build and push the Docker builder image which contain all of the build
# dependencies for OpenGamepadUI
name: Create and publish a Docker image
# Only trigger building the Docker image if the Dockerfile has changed.
on:
push:
paths:
- "docker/Dockerfile"
- ".github/workflows/docker.yaml"
env:
IMAGE_NAME: ghcr.io/shadowblip/opengamepadui-builder
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to Docker registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push latest Docker image
run: make docker-builder-push
- name: Build and push versioned Docker image
run: make docker-builder-push IMAGE_TAG=$(grep 'ARG GODOT_VER' docker/Dockerfile | cut -d'=' -f2)