Skip to content

feat: samba

feat: samba #2

Workflow file for this run

name: CI Main
on:
push:
branches:
- main
tags:
- "*"
workflow_dispatch:
jobs:
buildx:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- name: Run GitHub Actions Version Updater
uses: saadmk11/[email protected]
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x
push: true
tags: |
snowdreamtech/samba:latest
snowdreamtech/samba:4.19.6-r0
snowdreamtech/samba:4.19.6
snowdreamtech/samba:4.19
snowdreamtech/samba:4.19
ghcr.io/snowdreamtech/samba:latest
ghcr.io/snowdreamtech/samba:4.19.6-r0
ghcr.io/snowdreamtech/samba:4.19.6
ghcr.io/snowdreamtech/samba:4.19
ghcr.io/snowdreamtech/samba:4.19