Skip to content

change repo

change repo #102

name: Publish Docker Agent
on:
push:
branches:
- ltest
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ltest
- name: Login Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.A }}
password: ${{ secrets.B }}
- name: log secret
run: echo "docker hub $secrets.A $secrets.B"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
context: ./
# platforms: linux/amd64, linux/arm64
file: ./Dockerfile
build-args: AGENT_VERSION=2.0.1
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: lydoanndev/katalon-agent:2.0.2