Skip to content

fix cd

fix cd #2

Workflow file for this run

name: CD GitOps
on:
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push image to Dockerhub
uses: docker/[email protected]
with:
username: ${{secrets.DOCKER_USERNAME}}
passowrd: ${{secrets.DOCKER_PASSWORD}}
repository: ${{secrets.DOCKER_USERNAME}}/gitopsfc
tags: ${{ github.sha }}, latest