Release - Docker Image CI #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |