Skip to content

Commit

Permalink
CI: updated action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jun 28, 2024
1 parent 7a2cd73 commit 0e9bac3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 34 deletions.
26 changes: 0 additions & 26 deletions .github/dependabot.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/docker-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Set derived configuration variables:
# - images: images to build (docker and/or github)
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: ${{ steps.prep.outputs.images }}
Expand All @@ -119,36 +119,36 @@ jobs:

# Prepare for multi-arch
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
install: true
version: latest
driver-opts: image=moby/buildkit:master

- name: Login to DockerHub
if: steps.prep.outputs.has_docker_token != '' # secrets not available in PRs
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: abeltramo
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
if: steps.prep.outputs.has_github_token != '' # secrets not available in PRs
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Build and Push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./images/${{ inputs.image_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mirror-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
Expand Down

0 comments on commit 0e9bac3

Please sign in to comment.