|
|
@@ -40,13 +40,13 @@ jobs:
|
|
|
# type=semver,pattern={{major}}.{{minor}}-alpine
|
|
|
steps:
|
|
|
- name: Set up QEMU
|
|
|
- uses: docker/setup-qemu-action@v4
|
|
|
+ uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
- uses: docker/setup-buildx-action@v4
|
|
|
+ uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
|
|
|
|
|
- name: Checkout
|
|
|
- uses: actions/checkout@v7
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Get FreshRSS version
|
|
|
run: |
|
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
|
|
|
- name: Add metadata to Docker images
|
|
|
id: meta
|
|
|
- uses: docker/metadata-action@v6
|
|
|
+ uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
|
|
with:
|
|
|
flavor: ${{ matrix.flavor }}
|
|
|
images: |
|
|
|
@@ -69,21 +69,21 @@ jobs:
|
|
|
|
|
|
- name: Login to Docker Hub
|
|
|
if: github.repository_owner == 'FreshRSS'
|
|
|
- uses: docker/login-action@v4
|
|
|
+ uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
|
|
with:
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
if: github.repository_owner == 'FreshRSS'
|
|
|
- uses: docker/login-action@v4
|
|
|
+ uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
|
|
with:
|
|
|
registry: ghcr.io
|
|
|
username: ${{ github.repository_owner }}
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
- name: Build and push Docker images
|
|
|
- uses: docker/build-push-action@v7
|
|
|
+ uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
|
|
with:
|
|
|
context: . # Switching from git context to path context, needed for .dockerignore to be applied. See: https://github.com/docker/build-push-action#git-context
|
|
|
file: ${{ matrix.file }}
|