Skip to content

Commit

Permalink
Fix images building (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil authored Aug 14, 2024
1 parent 65fa416 commit 6bc36ac
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
paths:
- docker/**
- .github/workflows/build_and_publish_docker_images.yaml
- .github/workflows/images.yaml
schedule:
- cron: "0 0 * * *"

Expand All @@ -29,24 +29,27 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
contents: write
packages: write
id-token: write

steps:
- name: Checkout
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main

- name: Checkout code
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker images
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
flavor: |
latest=false
Expand Down

0 comments on commit 6bc36ac

Please sign in to comment.