Skip to content

Bullseye Images

Bullseye Images #67

---
name: Bullseye Images
on: # yamllint disable-line rule:truthy
push:
branches: [master]
paths: ['bullseye/Dockerfile', 'box64.sh']
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
release:
name: Release - Docker image
runs-on: ARM64
steps:
- name: Get current date
id: current-date
run: |
echo "TODAY=$(date +%Y-%m-%d)" >> "$GITHUB_OUTPUT"
- name: Checkout
uses: actions/checkout@v4
- 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 - GHCR Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker - Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=steam-bullseye
type=raw,value=steam-bullseye-${{ steps.current-date.outputs.TODAY }}
flavor: latest=false
- name: Docker - Metadata (Root)
id: meta_root
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=root-bullseye
type=raw,value=root-bullseye-${{ steps.current-date.outputs.TODAY }}
flavor: latest=false
- name: Docker - Build / Push
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
file: bullseye/Dockerfile
target: bullseye
push: true
tags: ${{ steps.meta.outputs.tags }}
- name: Docker - Build / Push (Root)
id: docker_build_root
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
file: bullseye/Dockerfile
target: bullseye-root
push: true
tags: ${{ steps.meta_root.outputs.tags }}