Skip to content

fix dates

fix dates #20

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/${{ github.repository_owner }}/website:latest
- name: Docker login to ghcr.io
run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${{ secrets.TOKEN }}
- name: 'Push docker image'
run: docker push ghcr.io/${{ github.repository_owner }}/website:latest
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.TOKEN }}
# - name: 'Build docker image'
# run: docker build . --file Dockerfile --tag ghcr.io/${{ github.repository_owner }}/website:latest
# - name: 'Push docker image'
# run: docker push ghcr.io/${{ github.repository_owner }}/website:latest