Skip to content

Show source

Show source #387

name: Build unstable docker image
on:
push:
branches:
- 'develop'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.HUB_BASS_USERNAME }}
password: ${{ secrets.HUB_BASS_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: BUILD_VERSION=develop
tags: barassistant/salt-rim:dev
cache-from: type=gha
cache-to: type=gha,mode=max