Skip to content

changing the dockerfile location #5

changing the dockerfile location

changing the dockerfile location #5

Workflow file for this run

name: Release Node.js app
on:
push:
branches:
- main
jobs:
build: # name of the job
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: main
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./docker/express
file: ./express-app/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/express-app:latest