Skip to content

Weekly

Weekly #1

Workflow file for this run

---
name: Weekly
on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * 0'
jobs:
# Builds the Dockerfile and pushes it to dockerhub
release:
name: Release - Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker - Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Docker - Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=steam
flavor: latest=true
- name: Docker - Build / Push
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
target: bullseye
push: true
tags: ${{ steps.meta.outputs.tags }}
release-root:
name: Release - Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker - Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Docker - Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=root
flavor: latest=false
- name: Docker - Build / Push
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
target: bullseye-root
push: true
tags: ${{ steps.meta.outputs.tags }}