Skip to content

Bump docker/login-action from 2.2.0 to 3.0.0 #77

Bump docker/login-action from 2.2.0 to 3.0.0

Bump docker/login-action from 2.2.0 to 3.0.0 #77

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Login to docker hub
uses: docker/[email protected]
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
uses: docker/[email protected]
id: meta
with:
images: atom63/qt-docker
- name: Build and push
uses: docker/[email protected]
with:
file: ./cross/x86_64_armv7a/bullseye/Dockerfile
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: atom63/qt-docker:linux-bullseye-cross-x86_64-armv7a-qt
labels: ${{ steps.meta.outputs.labels }}