Skip to content

Bump braces from 3.0.2 to 3.0.3 in /frontend (#117) #268

Bump braces from 3.0.2 to 3.0.3 in /frontend (#117)

Bump braces from 3.0.2 to 3.0.3 in /frontend (#117) #268

name: Build image and maybe push [unstable]
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
unstable:
name: Full
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare version tags
run: |
echo "tags<<EOF" >> $GITHUB_ENV
scripts/format_docker_tags.py "unstable" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
if: ${{ github.event_name == 'push' }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: ${{ github.event_name == 'push' }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Publish
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name == 'push' }}
tags: ${{ env.tags }}
file: ./docker/Dockerfile
unstable-gcc:
name: GCC-only
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare version tags
run: |
echo "tags<<EOF" >> $GITHUB_ENV
scripts/format_docker_tags.py "unstable" "-gcc" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
if: ${{ github.event_name == 'push' }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: ${{ github.event_name == 'push' }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Publish
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name == 'push' }}
tags: ${{ env.tags }}
file: ./docker/gcc-only.dockerfile