Skip to content

Commit

Permalink
fix: update CI/CD pipeline configuration and Docker image metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Oct 29, 2024
1 parent f184aeb commit 1b80928
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,21 @@ jobs:
strategy:
matrix:
platform: [linux/amd64, linux/arm64]

steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0

- name: Set up QEMU for Multi-Architecture Builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v3.2.0

- name: Set up Docker Buildx for Multi-Platform Builds
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.7.1

- name: Generate Docker Image Metadata
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/mountaingod2/chaturbate_poller
tags: |
Expand All @@ -50,7 +49,7 @@ jobs:
password: '${{ secrets.GITHUB_TOKEN }}'

- name: Build and Push Docker Image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6.9.0
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 1b80928

Please sign in to comment.