Skip to content

fix(Release): import twice #45

fix(Release): import twice

fix(Release): import twice #45

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)