Skip to content

Add: Additional logging statements #124

Add: Additional logging statements

Add: Additional logging statements #124

Workflow file for this run

name: Docker Develop Release
on:
push:
branches: [ dev ]
paths-ignore:
- '**/README.md'
# Ignore updates to .github
- '**/.github/**'
pull_request:
branches: [ dev ]
jobs:
docker-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: checkout the repo
run: |
docker login --username ${{ secrets.GH_USERNAME }} --password ${{ secrets.GH_TOKEN }} ghcr.io
docker build --build-arg BRANCH=$(git rev-parse --abbrev-ref HEAD) -t ghcr.io/drazzilb08/userscripts:dev .
docker push ghcr.io/drazzilb08/userscripts:dev
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
build-args: |
"BRANCH=dev"
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/userscripts:dev