Skip to content

Update default_renovate.json #29

Update default_renovate.json

Update default_renovate.json #29

Workflow file for this run

name: Docker Build
on:
push:
tags:
branches:
- main
jobs:
docker-build:
runs-on: ubuntu-latest
env:
repository: eldoriarpg/github
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Image
run: docker build . -f Dockerfile -t ghcr.io/$repository:${{ github.sha }}
- name: Login to Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login -u $ --password-stdin ghcr.io
- name: Push image
run: |
docker push ghcr.io/$repository:${{ github.sha }}
- name: Tag & Push branch image
run: |
docker image tag ghcr.io/$repository:${{ github.sha }} ghcr.io/$repository:${{ github.ref_name }}
docker push ghcr.io/$repository:${{ github.ref_name }}
- name: Tag & Push latest image
if: github.ref_name == 'main'
run: |
docker image tag ghcr.io/$repository:${{ github.sha }} ghcr.io/$repository:latest
docker push ghcr.io/$repository:latest