Skip to content

Commit

Permalink
Create bullseye.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mjjonone authored Nov 23, 2023
1 parent 067c1f5 commit c441cc8
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/bullseye.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Build and push amd64 images"

on:
workflow_dispatch:

jobs:
Building:
runs-on: ubuntu-latest
name: "Build images"
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKERHUB_REPOSITORY: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:bullseye

steps:
- name: Checkout code
uses: actions/checkout@v3.3.0
with:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0

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

- name: Login to DockerHub
uses: docker/login-action@v1.14.1
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}

- name: Push images to Docker hub
uses: docker/build-push-action@v2.9.0
with:
push: true
platforms: linux/amd64
tags: ${{ env.DOCKERHUB_REPOSITORY }}

0 comments on commit c441cc8

Please sign in to comment.