3e97c65320
Former-commit-id: b28ab4ec04c6c5f7e8f5ac7b6c02766ed7b86f1c Former-commit-id: 84a88b1e7a912a241c2b2e87fe7281c3c4770d81 [formerly 5dba637a9f5be0110f36655decf772b6227f67ba] [formerly 12af14caedea8c2c96da2f3cfdfedb8b7b23997e [formerly 83564c7ecdbd7bcf621576d621a8a94fc005d2d2 [formerly 83564c7ecdbd7bcf621576d621a8a94fc005d2d2 [formerly 83564c7ecdbd7bcf621576d621a8a94fc005d2d2 [formerly d042d7f398ce6394ed6d3bc97e37203ac986d641]]]]] Former-commit-id: b8824f8cd0400060f9cb9a134484bf78f5556402 [formerly 31090d4522b156678485ec3d059ac6a262e7d24a] Former-commit-id: 6052ede78e02593dd085f12b6b293c1b359dec47 Former-commit-id: b14367bfa1eb5caf185b3eed3c00e8ba3be1aacd Former-commit-id: 7f2ce4f4c6fe80267b0496cf2d7e3ebbce9bbf98 Former-commit-id: 9ca915ee2a11c258ccbdc155f7d727930f14adc4 [formerly a132a38fcdaac1d2a9103bdeba13d4c62c4fa233] Former-commit-id: 828db4c831fef7e1d53d0cb13521b4ff887659b5
27 lines
785 B
YAML
27 lines
785 B
YAML
name: Publish Docker image
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
jobs:
|
|
push_to_registry:
|
|
name: Push Docker image to Docker Hub
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v2
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.CR_PAT }}
|
|
- name: Build and push
|
|
id: docker_build
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
push: true
|
|
tags: ghcr.io/erebe/wstunnel:latest
|
|
- name: Image digest
|
|
run: echo ${{ steps.docker_build.outputs.digest }}
|