Skip to content

Commit

Permalink
break apart deploy actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK committed Dec 4, 2024
1 parent 242e3b9 commit e0b5f98
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 110 deletions.
110 changes: 0 additions & 110 deletions .github/workflows/deploy-actions.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/deploy-alpine-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy Alpine

on: [push]
# push:
# branches:
# - deploy

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push elixir:1.13-otp-25-alpine
uses: docker/build-push-action@v2
with:
push: true
file: elixir-otp-25.Dockerfile
platforms: linux/amd64
tags: mikaak/elixir:1.13-otp-25-alpine

- name: Build and push elixir:1.13-alpine
uses: docker/build-push-action@v2
with:
push: true
file: elixir.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir:1.13-alpine

- name: Build and push alpine-release:latest
uses: docker/build-push-action@v2
with:
push: true
file: alpine-release.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/alpine-release:latest

- name: Build and push elixir-node:1.13-otp-25-alpine
uses: docker/build-push-action@v2
with:
push: true
file: node-elixir-otp-25.Dockerfile
platforms: linux/amd64
tags: mikaak/elixir-node:1.13-otp-25-alpine

- name: Build and push elixir-node:1.13-alpine
uses: docker/build-push-action@v2
with:
push: true
file: node-elixir.Dockerfile
platforms: linux/amd64
tags: mikaak/elixir-node:1.13-alpine
46 changes: 46 additions & 0 deletions .github/workflows/deploy-debian-new-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy

on: [push]
# push:
# branches:
# - deploy

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push elixir:1.17-otp27-debian
uses: docker/build-push-action@v2
with:
push: true
file: elixir-debian.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir:1.17-otp27-debian

- name: Build and push elixir-node:1.17-otp-27-debian
uses: docker/build-push-action@v2
with:
push: true
file: node-elixir-debian.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir-node:1.17-otp27-debian

- name: Build and push elixir-terraform-ansible-builder:1.17-otp27-debian
uses: docker/build-push-action@v2
with:
push: true
file: elixir-debian-terraform-ansible.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir-terraform-ansible-builder:1.17-otp27-debian
46 changes: 46 additions & 0 deletions .github/workflows/deploy-debian-old-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy

on: [push]
# push:
# branches:
# - deploy

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push elixir:1.13-otp25-debian
uses: docker/build-push-action@v2
with:
push: true
file: elixir-debian-otp-25.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir:1.13-otp25-debian

- name: Build and push elixir-node:1.13-otp-25-alpine
uses: docker/build-push-action@v2
with:
push: true
file: node-elixir-debian-otp-25.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir-node:1.13-otp25-debian

- name: Build and push elixir-terraform-ansible-builder:1.13-otp25-debian
uses: docker/build-push-action@v2
with:
push: true
file: elixir-debian-terraform-ansible-otp-25.Dockerfile
platforms: linux/amd64,linux/arm64
tags: mikaak/elixir-terraform-ansible-builder:1.13-otp25-debian

0 comments on commit e0b5f98

Please sign in to comment.