Skip to content

chore: move repos to docker hub #5

chore: move repos to docker hub

chore: move repos to docker hub #5

Workflow file for this run

name: Build and Push Docker Images
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
godot_version: [
# Unsupported versions (for now)
# The double commented out versions seem to not be working
# https://github.com/rivet-gg/godot-docker/issues/2
# Full list of versions available here: https://godotengine.org/download/archive/
# # "2.0",
# # "2.0.1",
# # "2.0.2",
# # "2.0.3",
# # "2.0.4.1",
# "2.1",
# "2.1.1",
# "2.1.2",
# "2.1.3",
# "2.1.4",
# "2.1.5",
# "2.1.6",
# # "2.1.7",
# # "3.0",
# # "3.0.1",
# # "3.0.2",
# # "3.0.3",
# # "3.0.4",
# # "3.0.5",
# "3.0.6",
# "3.1",
# "3.1.1",
# "3.1.2",
# "3.2",
# "3.2.1",
# "3.2.2",
# "3.2.3",
# # "3.2.4",
# "3.3",
# "3.3.1",
# "3.3.2",
# "3.3.3",
# "3.3.4",
# "3.4",
# "3.4.1",
# "3.4.2",
# "3.4.3",
# "3.4.4",
# "3.4.5",
# "3.5",
# "3.5.1",
# "3.5.2",
# "3.5.3",
# # "3.6",
# "4.0",
# "4.0.1",
# "4.0.2",
# "4.0.3",
# "4.0.4",
# "4.1",
# "4.1.1",
# "4.1.2",
# "4.1.3",
# Supported versions with plugin
"4.2",
"4.2.1",
"4.2.2",
]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: rivetgg/godot:${{ matrix.godot_version }}
build-args: |
GODOT_VERSION=${{ matrix.godot_version }}