Skip to content

Merge pull request #116 from deverickapollo/dev-package-lock-update #12

Merge pull request #116 from deverickapollo/dev-package-lock-update

Merge pull request #116 from deverickapollo/dev-package-lock-update #12

Workflow file for this run

name: Build and publish Docker image on tag
on:
push:
tags:
- 'v*.*.*'
env:
DOCKER_CLI_EXPERIMENTAL: enabled
jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- name: Set VERSION
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Checkout project
uses: actions/[email protected]
- name: Set up QEMU
uses: docker/[email protected]
- name: Setup Docker buildx action
uses: docker/[email protected]
- name: Run Docker buildx
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag ${{ secrets.DOCKER_HUB_USER }}/umbrel-monero:$VERSION \
--push .