Skip to content

fix cloudformation

fix cloudformation #43

Workflow file for this run

# https://docs.docker.com/language/nodejs/configure-ci-cd/
name: Build and Push to Docker Hub
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/src-wrs-bot-v2:latest
- name: Image Digest
run: echo ${{ steps.docker_build.outputs.digest }}