Merge pull request #59 from useplunk/dev-driaug-canary-workflow

Added workflow for canary image
This commit is contained in:
Dries Augustyns
2024-08-20 10:58:22 +02:00
committed by GitHub
2 changed files with 33 additions and 1 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Build and Push Docker image (Canary)
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: |
driaug/plunk:canary
platforms: linux/amd64,linux/arm64
@@ -1,4 +1,4 @@
name: Build and Push Docker image
name: Build and Push Docker image (Production)
on:
push: