Skip to content

Check for same timestamps when updating to figure out failures #11

Check for same timestamps when updating to figure out failures

Check for same timestamps when updating to figure out failures #11

Workflow file for this run

name: Docker CI/CD
on:
push:
branches: [ "main" ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker-image-build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Docker Login
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker build --pull -t ${{ env.REGISTRY }}/${{ github.repository }}:latest .
docker push ${{ env.REGISTRY }}/${{ github.repository }}:latest