Skip to content

chore(deps): update docker/build-push-action digest to 729f7f4 (#156) #706

chore(deps): update docker/build-push-action digest to 729f7f4 (#156)

chore(deps): update docker/build-push-action digest to 729f7f4 (#156) #706

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build and deploy to Docker Hub. Trigger deployment on Netlify side.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
# and ignores changes to README.md
push:
branches: [ master ]
paths-ignore:
- 'README.md'
pull_request:
branches: [ master ]
paths-ignore:
- 'README.md'
# Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PW }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
tags: piotrzan/dcaguide:v1
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4