Skip to content

Commit

Permalink
feat: add create-images script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzio committed Nov 19, 2024
1 parent 0663e5a commit eb6df72
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/create-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Create docker images

on:
push:
branches:
- main

jobs:
build:
name: Build, push, and deploy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image to docker.io
with:
image: penxio/penx
tags: penx-latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image to ghcr.io
with:
image: penx
tags: penx-latest
registry: ghcr.io
multiPlatform: true
platform: linux/amd64,linux/arm64
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}

0 comments on commit eb6df72

Please sign in to comment.