Skip to content

Commit

Permalink
Merge pull request #59 from useplunk/dev-driaug-canary-workflow
Browse files Browse the repository at this point in the history
Added workflow for canary image
  • Loading branch information
driaug authored Aug 20, 2024
2 parents 1fbeb9a + 2268717 commit e95be7e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/docker-build-canary.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker image
name: Build and Push Docker image (Production)

on:
push:
Expand Down

0 comments on commit e95be7e

Please sign in to comment.