Update workflows
Some checks failed
Build docker image / test (push) Successful in 29s
Build docker image / build-image (push) Failing after 2m34s

This commit is contained in:
Mario Romero 2023-05-18 00:41:42 -04:00
parent f5b945236a
commit 7f5e18eaa2

View File

@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
needs: test needs: test
container:
image: catthehacker/ubuntu:act-latest
steps: steps:
- name: Checkout - name: Checkout
@ -20,20 +22,6 @@ jobs:
- name: Update repository - name: Update repository
run: apt update run: apt update
- name: Install docker
run: |
apt-get update
apt-get install ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: test docker - name: test docker
run: docker login run: docker login
@ -41,8 +29,8 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: git.1159.cl registry: git.1159.cl
username: ${{ github.repository_owner }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4