Skip to content

adding symbolic

adding symbolic #10

Workflow file for this run

# This workflow will install build and push the container of the DASH app of this repository.
name: CI/CD Pipeline
on: [push]
#on:
# push:
# branches:
# - main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v1
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.CICD_DASH_TOKEN }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# tags: ghcr.io/jalcocert/slider_crank:${{ github.sha }}
- uses: actions/checkout@v1
- name: Build & Push Image to DockerHub
run: |
echo "${{ secrets.CICD_DASH_TOKEN_DOCKERHUB }}" | docker login -u "reisikei" --password-stdin
docker image build -t reisikei/slider_crank:1_3 .
docker push reisikei/slider_crank:1_3