Skip to content

refactor: debug-based print statements #20

refactor: debug-based print statements

refactor: debug-based print statements #20

Workflow file for this run

name: Release Docker Image
on:
push:
branches:
- master
jobs:
build-and-push-docker-image:
runs-on: ubuntu-latest
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_REPO: ${{ secrets.DOCKER_REPO }}
IMAGE_NAME: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
- name: Build and tag Docker image
run: |
docker build -f ./docker/Dockerfile.dev -t $IMAGE_NAME .
- name: Push Docker image
run: |
docker push $IMAGE_NAME