Merged changes from source-branch as a single commit
This commit is contained in:
parent
24f8a637d2
commit
32821cd482
30
.github/workflows/build-push-docker-image.yml
vendored
Normal file
30
.github/workflows/build-push-docker-image.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Blockbook docker image | Build and Push
|
||||||
|
run-name: Building and pushing blockbook docker image to DockerHub
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-push-blockbook-docker:
|
||||||
|
runs-on: self-hosted
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/blockbook:1.0.0
|
||||||
|
|
||||||
|
- name: Log out from Docker Hub
|
||||||
|
run: docker logout
|
||||||
13
.github/workflows/learn-github-actions.yml
vendored
Normal file
13
.github/workflows/learn-github-actions.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: learn-github-actions
|
||||||
|
run-name: ${{ github.actor }} is learning GitHub Actions
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
check-bats-version:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
- run: npm install -g bats
|
||||||
|
- run: bats -v
|
||||||
Loading…
Reference in New Issue
Block a user