Skip to content

Bump docker/login-action from 2 to 3 #39

Bump docker/login-action from 2 to 3

Bump docker/login-action from 2 to 3 #39

Workflow file for this run

name: VPN Images
on:
push:
branches:
- 'main'
- 'v*'
tags:
- 'v*'
paths-ignore:
- '**.md'
pull_request:
branches:
- 'main'
- 'v*'
paths-ignore:
- '**.md'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Docker Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
push: true
tags: lthn/vpn:latest,lthn/vpn:v1