Skip to content

Commit

Permalink
Update deploy-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 authored Oct 3, 2023
1 parent 60f4275 commit 430194f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,24 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
push: false
push: true
platforms: linux/amd64,linux/arm64/v8
tags: amirpourmand/al-folio:slim

# Slim it!
- uses: kitabisa/docker-slim-action@v1
- name: update docker-compose
shell: bash
run: |
sed -i "s|\.:|${{ github.workspace }}:|g" ${{ github.workspace }}/docker-compose.yml
cat ${{ github.workspace }}/docker-compose.yml
- uses: kitabisa/docker-slim-action@v1.0.3
env:
DSLIM_COMPOSE_FILE: docker-compose.yml
DSLIM_COMPOSE_FILE: ${{ github.workspace }}/docker-compose.yml
DSLIM_TARGET_COMPOSE_SVC: jekyll
DSLIM_CONTINUE_AFTER: signal
with:
target: amirpourmand/al-folio:slim
target: amirpourmand/al-folio
tag: "slim"

# Push to the registry
- run: docker image push amirpourmand/al-folio:slim
- run: docker image push amirpourmand/al-folio:slim

0 comments on commit 430194f

Please sign in to comment.