Skip to content

πŸ“¦ Deploy to netdaemon_base #18

πŸ“¦ Deploy to netdaemon_base

πŸ“¦ Deploy to netdaemon_base #18

Workflow file for this run

#### Publish tags to docker hub
name: πŸ“¦ Deploy to netdaemon_base
on:
workflow_dispatch:
jobs:
deploy:
name: πŸ“¦ Deploy to netdaemon_base
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/Dockerfile8 . \
--compress \
--tag "netdaemon/netdaemon_base:8" \
--tag "ghcr.io/net-daemon/netdaemon_base:8"