Skip to content

Commit

Permalink
Push dev image to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Jul 16, 2024
1 parent 24f15e3 commit b8297b1
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,29 @@ jobs:
- name: start db
run: make ci_up
- name: unit test_pkg
run: make test_pkg
run: make test_pkg

docker-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Docker meta custom api
id: meta_customapi
uses: docker/metadata-action@v4
with:
images: spacemeshos/explorer-custom-api-dev

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- uses: docker/build-push-action@v2
with:
context: .
repository: spacemeshos/explorer-custom-api-dev
file: ./Dockerfile.api
push: true
tags: ${{ steps.meta_customapi.outputs.tags }}

0 comments on commit b8297b1

Please sign in to comment.