Added docker stuff
This commit is contained in:
parent
0ec6159365
commit
33aa3d0ae7
3 changed files with 41 additions and 1 deletions
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Build & Publish Docker Image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Login to Registry
|
||||
run: |
|
||||
echo "${{ secrets.DOCKER_PASSWD }}" | docker login \
|
||||
docker.tensamin.net \
|
||||
-u "${{ secrets.DOCKER_USER }}" \
|
||||
--password-stdin
|
||||
|
||||
- name: Build and Push
|
||||
run: |
|
||||
docker build -t docker.tensamin.net/iota:latest .
|
||||
docker push docker.tensamin.net/iota:latest
|
||||
Loading…
Reference in a new issue