Skip to content

api contract changed (#6) #139

api contract changed (#6)

api contract changed (#6) #139

Workflow file for this run

name: Build Image
on:
push:
branches: [ main ]
env:
PORT: 8080
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
- name: Building docker image
run: docker build -t ${{ vars.DOCKERHUB_USERNAME }}/konsign-api:${{ github.ref_name }}.${{ github.sha }} .
- name: Pushing docker image to dockerhub
run: docker push ${{ vars.DOCKERHUB_USERNAME }}/konsign-api:${{ github.ref_name }}.${{ github.sha }}