fix: adding IMAGE_VERSION
arg for docker node
image so that it fo…
#15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Deployment | |
on: | |
# release: | |
# types: [published] | |
push: | |
tags: | |
- docker* | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
name: Build and Push Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code repository | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # tag=v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build all Docker images | |
run: sh ./docker/build.sh | |
- name: Push all Docker images | |
run: sh ./docker/push.sh |