Skip to content

πŸ“¦ Deploy to netdaemon_base .NET 9 #1

πŸ“¦ Deploy to netdaemon_base .NET 9

πŸ“¦ Deploy to netdaemon_base .NET 9 #1

Workflow file for this run

#### Publish tags to docker hub
name: πŸ“¦ Deploy to netdaemon_base .NET 9
on:
workflow_dispatch:
jobs:
deploy:
name: πŸ“¦ Deploy to netdaemon_base .NET 9
runs-on: ubuntu-latest
environment: CI - release environment
steps:
- name: πŸ“€ Checkout the repository
uses: actions/checkout@main
- name: πŸ“Ž Set up QEMU
uses: docker/setup-qemu-action@v3
- name: πŸ”§ Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: 🧰 Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: πŸ”“ Login to Docker hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: πŸ”“ Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ› οΈ Run Buildx
run: |
docker buildx build \
--platform linux/arm,linux/arm64,linux/amd64 \
--output "type=image,push=true" \
--no-cache \
--file ./base/Dockerfile9 . \
--compress \
--tag "netdaemon/netdaemon_base:9" \
--tag "ghcr.io/net-daemon/netdaemon_base:9"