Skip to content

Change build tag to dev #5

Change build tag to dev

Change build tag to dev #5

Workflow file for this run

name: Build latest images automatically
on:
push:
branches: ["master", "main"]
jobs:
deploy:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Build docker images
- 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
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: b-scheduler
password: ${{ secrets.PAT }}
- name: Build and push release
id: docker_build_release
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64/v8
cache-from: type=gha
cache-to: type=gha,mode=max
file: ./docker/Dockerfile
push: true
tags: |
${{ vars.DOCKERHUB_USERNAME }}/bresourcemanager:dev
ghcr.io/b-scheduler/bresourcemanager:dev