Skip to content

Implement and release v3 #5

Implement and release v3

Implement and release v3 #5

name: Build and Deploy for Master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: phalcode
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: phalcode
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: true
tags: |
phalcode/rawg-to-steam-redirect:latest
ghcr.io/phalcode/rawg-to-steam-redirect:latest
- name: Discord notification
if: contains(github.event.head_commit.message, 'release')
id: discord
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_BOT_WEBHOOK }}
with:
args: '<@&1128857090090340382> New Release: {{ EVENT_PAYLOAD.repository.full_name }} has been deployed. Here are the changes: https://github.com/Phalcode/rawg-to-steam-redirect/blob/master/CHANGELOG.md'