Skip to content

testing github building action@v3 #2

testing github building action@v3

testing github building action@v3 #2

Workflow file for this run

name: Build and Push to Docker Hub
on:
push:
branches:
- test
tags:
- '*.*.*'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
dockerfile: ./packaging/Dockerfile
push: true
tags: |
helyosframework/helyos_core:${{ github.ref }}
helyosframework/helyos_core:${{ github.ref }}-linux-amd64
helyosframework/helyos_core:${{ github.ref }}-linux-arm-v7
helyosframework/helyos_core:${{ github.ref }}-macos-mx
platforms: linux/amd64,linux/arm/v7,linux/amd64