Skip to content

Release - Docker Image CI #153

Release - Docker Image CI

Release - Docker Image CI #153

name: Release - Docker Image CI
on:
release:
branches: [ main ]
types: [ published ]
schedule:
- cron: '0 5 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: "call action"
id: last_release
uses: pozetroninc/[email protected]
with:
owner: vinanrra
repo: Docker-Satisfactory
-
name: Set up QEMU
uses: docker/[email protected]
-
name: Set up Docker Buildx
uses: docker/[email protected]
-
name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/[email protected]
with:
push: true
tags: |
vinanrra/satisfactory-server:latest,vinanrra/satisfactory-server:${{ steps.last_release.outputs.release }}