Skip to content

Commit

Permalink
add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
LoSk-p committed May 15, 2024
1 parent 61c2c6a commit 69e3b86
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Publish"

on:
push:
branches:
- main
- deploy-actions

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build . --build-arg BUILD_FROM="homeassistant/amd64-base:latest" --tag ghcr.io/PinoutLTD/libp2p-ws-proxy:latest
docker push ghcr.io/PinoutLTD/libp2p-ws-proxy:latest
# - name: Publish
# uses: home-assistant/builder@master
# with:
# args: |
# --all \
# --target libp2p-ws-proxy \
# --docker-hub user-name-or-space-name

0 comments on commit 69e3b86

Please sign in to comment.