Skip to content

Merge pull request #1 from Retch/http_connector #7

Merge pull request #1 from Retch/http_connector

Merge pull request #1 from Retch/http_connector #7

name: 'build omni lock adapter'
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v2
- name: 'Set up QEMU'
uses: docker/setup-qemu-action@v1
- name: 'Set up Docker Buildx'
id: buildx
uses: docker/setup-buildx-action@v1
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build and Push Inventory Image'
run: |
docker buildx create --use
docker buildx build --push --tag ghcr.io/retch/shareabike-omni-lock-adapter:latest --platform linux/amd64,linux/arm64 .