Skip to content

ci(deps): bump docker/login-action from 3.1.0 to 3.2.0 #159

ci(deps): bump docker/login-action from 3.1.0 to 3.2.0

ci(deps): bump docker/login-action from 3.1.0 to 3.2.0 #159

Workflow file for this run

---
name: Continuous
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
integration:
name: Integration
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-v1-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-v1-
- name: Build
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: false
load: true
tags: streamr/nginx:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
delivery:
name: Delivery
needs:
- integration
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
with:
driver-opts: |
network=host
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-v1-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-v1-
- name: Docker meta
id: docker_meta
uses: docker/[email protected]
with:
images: streamr/nginx
tags: |
type=ref,event=branch
type=ref,event=pr
type=sha
flavor: |
latest=auto
- name: Login to Docker Hub Container Registry
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push container to Docker Hub
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
load: false
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache