Skip to content

Commit

Permalink
Create docker-image.yml (#11)
Browse files Browse the repository at this point in the history
* Create docker-image.yml

* added push

* login

* Update docker-image.yml

* Update docker-image.yml

* Create docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml
  • Loading branch information
lAmeR1 authored Feb 8, 2023
1 parent 9a0f9e1 commit d119e76
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
release:
types: [published]

jobs:

build:

runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: lamer1
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: lamer1/kaspa-rest-wallet:${{github.ref_name}}, lamer1/kaspa-rest-wallet:latest
file: ./docker/Dockerfile

0 comments on commit d119e76

Please sign in to comment.